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

IPolyline Interface

Defines an sequence of points in 3D space.

Properties

PointsCount : int
[Get]
Max number of points that define the polyline.
Signature
int Oculus.Interaction.IPolyline.PointsCount

Methods

PointAtIndex ( index )
Calculates the position N vertex of the polyline.
Signature
Vector3 Oculus.Interaction.IPolyline.PointAtIndex(int index)
Parameters
index: int  The N vertex of the polyline been queried.
Returns
Vector3  The position of the polyline at the index-th point