Provides script language access to C++ objects of this type.
Class Hierarchy | Type » PathPosition |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | AtEnd | Tests if the <PathPosition> object is at the ending point of the Path. |
int32 | AtStart | Tests if the <PathPosition> object is at the starting point of the Path. |
<Vec> | GetDerivative | Returns a pointer to a <Vec> object the derivative ( or orientation ) of the path segment at the current worldspace coordinate of the <PathPosition> object. |
<Vec> | GetPosition | Returns a pointer to a <Vec> object containing the worldspace coordinates of the current <PathPosition>. |
int32 | GetSegmentIndex | Returns the index of the segment located at the current position of the <PathPosition> object. |
int32 | Reset | Resets the position of the <PathPosition> object to the start of the Path. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
int32 | EvaluateDerivative | Gets or sets a flag indicating if the <PathPosition> object should calculate the derivative of the path each time the position is updated. Derivative calculation is off by default. |
int32 | Loop | Gets or sets a flag indicating if the <PathPosition> object should restart at the beginning of the path once it has reached the end. |