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

OVRBoundary Class

Provides access to the Oculus boundary system.

Member Enumerations

Enumeration Node

Specifies a tracked node that can be queried through the boundary system.
HandLeft
= OVRPlugin.Node.HandLeft
HandRight
= OVRPlugin.Node.HandRight
Head
= OVRPlugin.Node.Head

Enumeration BoundaryType

Specifies a boundary type surface.
OuterBoundary
= OVRPlugin.BoundaryType.OuterBoundary
PlayArea
= OVRPlugin.BoundaryType.PlayArea

Member Functions

Returns true if the boundary system is currently configured with valid boundary data.
Returns the results of testing a tracked node against the specified boundary type.
All points are returned in local tracking space shared by tracked nodes and accessible through OVRCameraRig's trackingSpace anchor.
Returns the results of testing a 3d point against the specified boundary type.
The test point is expected in local tracking space. All points are returned in local tracking space shared by tracked nodes and accessible through OVRCameraRig's trackingSpace anchor.
Returns an array of 3d points (in clockwise order) that define the specified boundary type.
All points are returned in local tracking space shared by tracked nodes and accessible through OVRCameraRig's trackingSpace anchor.
Returns a vector that indicates the spatial dimensions of the specified boundary type.
(x = width, y = height, z = depth)
Returns true if the boundary system is currently visible.
Requests that the boundary system visibility be set to the specified value.
The actual visibility can be overridden by the system (i.e., proximity trigger) or by the user (boundary system disabled)
Did you find this page helpful?
Thumbs up icon
Thumbs down icon