API reference
API reference
Select your platform
No SDKs available
No versions available

TransformsPolyline Class

Extends MonoBehaviour, IPolyline
A IPolyline defined by an array of transforms.
Each transform represents a point in the line, in the given order.

Fields

int PointsCount[Get]

Protected Fields

bool _started[Get]

Protected Functions

virtual void Start ( )

Member Functions

Calculates the position N vertex of the IPolyline.
Parameters
index
The N vertex of the polyline been queried.
Returns
The position of the polyline at the index-th point
void InjectAllTransformsPolyline
( Transform [] transforms )
void InjectTransforms
( Transform [] transforms )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon