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

IPolyline Interface

Defines a sequence of connected points in 3D space that form a polyline shape.
This interface is commonly used for defining paths, boundaries, or trajectories in spatial interactions and surface definitions.
See Oculus.Interaction.TransformsPolyline and Oculus.Interaction.Locomotion.TeleportArcGravity for example implementations.

Properties

Max number of points that define the IPolyline.
Returns
The number of points in the polyline sequence.

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
Did you find this page helpful?
Thumbs up icon
Thumbs down icon