Click or drag to resize

FastLineRendererAddLines Method

Add distinct line segments from a list. The list must contain start and end points, repeating for each segment.

Namespace:  DigitalRuby.FastLineRenderer
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public void AddLines(
	FastLineRendererProperties props,
	IList<Vector3> points,
	Action<FastLineRendererProperties> segmentCallback,
	bool startCap = false,
	bool endCap = false
)

Parameters

props
Type: DigitalRuby.FastLineRendererFastLineRendererProperties
Creation properties
points
Type: System.Collections.GenericIListVector3
List of points
segmentCallback
Type: SystemActionFastLineRendererProperties
Optional callback for each line segment so you can change the properties per segment if desired
startCap (Optional)
Type: SystemBoolean
Whether to add start caps
endCap (Optional)
Type: SystemBoolean
Whether to add end caps
See Also