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
)
Public Function ChangePosition (
index As Integer,
newStart As Vector3,
newEnd As Vector3
) As Boolean
public:
bool ChangePosition(
int index,
Vector3 newStart,
Vector3 newEnd
)
member ChangePosition :
index : int *
newStart : Vector3 *
newEnd : Vector3 -> bool
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:
BooleanTrue if success, false if error
See Also