FastLineRendererAppendCircle Method |
Append a circle to the fast line renderer
Namespace:
DigitalRuby.FastLineRenderer
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void AppendCircle(
FastLineRendererProperties props,
Vector3 center,
float radius,
int numberOfSegments,
Vector3 axis,
float animationTime = 0f
)
Public Sub AppendCircle (
props As FastLineRendererProperties,
center As Vector3,
radius As Single,
numberOfSegments As Integer,
axis As Vector3,
Optional animationTime As Single = 0F
)
public:
void AppendCircle(
FastLineRendererProperties^ props,
Vector3 center,
float radius,
int numberOfSegments,
Vector3 axis,
float animationTime = 0f
)
member AppendCircle :
props : FastLineRendererProperties *
center : Vector3 *
radius : float32 *
numberOfSegments : int *
axis : Vector3 *
?animationTime : float32
(* Defaults:
let _animationTime = defaultArg animationTime 0f
*)
-> unit
Parameters
- props
- Type: DigitalRuby.FastLineRendererFastLineRendererProperties
Properties - center
- Type: Vector3
Center in world space - radius
- Type: SystemSingle
Radius in world units - numberOfSegments
- Type: SystemInt32
How many line segments the circle should be composed of. Will be raised to 4 if less than 4 - axis
- Type: Vector3
Axis to rotate around the center to add points. For 2D this is ignored. - animationTime (Optional)
- Type: SystemSingle
The time it takes for each line segment of the spline to animate in
See Also