Click or drag to resize

FastLineRendererAppendSpline Method

Append a spline to the fast line renderer. Start and End in props is ignored.

Namespace:  DigitalRuby.FastLineRenderer
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public bool AppendSpline(
	FastLineRendererProperties props,
	IList<Vector3> points,
	int numberOfSegments,
	FastLineRendererSplineFlags flags,
	float animationTime = 0f
)

Parameters

props
Type: DigitalRuby.FastLineRendererFastLineRendererProperties
Line properties
points
Type: System.Collections.GenericIListVector3
Points for the spline to follow
numberOfSegments
Type: SystemInt32
Total number of line segments for the spline. The higher this number, the higher quality, but more CPU / GPU time.
flags
Type: DigitalRuby.FastLineRendererFastLineRendererSplineFlags
Flags determining how the spline behaves
animationTime (Optional)
Type: SystemSingle
The time it takes for each line segment of the spline to animate in

Return Value

Type: Boolean
True if success, false if points length is too small
See Also