Click or drag to resize

FastLineRendererChangePosition Method

Changes the position of a single line segment. This method does not support join styles. You must call Apply to make the changes permanent. Error will happen if index is out of range.

Namespace:  DigitalRuby.FastLineRenderer
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public bool ChangePosition(
	int index,
	Vector3 newStart,
	Vector3 newEnd
)

Parameters

index
Type: SystemInt32
Line segment index. Each line segment has it's own start and end position.
newStart
Type: Vector3
The new start position of the line segment
newEnd
Type: Vector3
The new end position of the line segment

Return Value

Type: Boolean
True if success, false if error
See Also