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
)
Public Function AppendSpline (
props As FastLineRendererProperties,
points As IList(Of Vector3),
numberOfSegments As Integer,
flags As FastLineRendererSplineFlags,
Optional animationTime As Single = 0F
) As Boolean
public:
bool AppendSpline(
FastLineRendererProperties^ props,
IList<Vector3>^ points,
int numberOfSegments,
FastLineRendererSplineFlags flags,
float animationTime = 0f
)
member AppendSpline :
props : FastLineRendererProperties *
points : IList<Vector3> *
numberOfSegments : int *
flags : FastLineRendererSplineFlags *
?animationTime : float32
(* Defaults:
let _animationTime = defaultArg animationTime 0f
*)
-> bool
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:
BooleanTrue if success, false if points length is too small
See Also