Click or drag to resize

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
)

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