API reference

IPolyline Interface

Defines an sequence of points in 3D space.

Overview

Properties

int
Max number of points that define the polyline.

Public Member Functions

Vector3
PointAtIndex
( int index )
Calculates the position N vertex of the polyline.

Details

Properties

int Oculus.Interaction.IPolyline.PointsCount
Max number of points that define the polyline.

Member Functions

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