GetConfigured
()
|
Returns true if the boundary system is currently configured with valid boundary data.
Signature
bool OVRBoundary.GetConfigured() Returns bool |
GetDimensions
(
boundaryType
)
|
Returns a vector that indicates the spatial dimensions of the specified boundary type.
(x = width, y = height, z = depth)
Signature
Vector3 OVRBoundary.GetDimensions(OVRBoundary.BoundaryType boundaryType) Parameters boundaryType: OVRBoundary.BoundaryTypeReturns Vector3 |
GetGeometry
(
boundaryType
)
|
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.
Signature
Vector3[] OVRBoundary.GetGeometry(OVRBoundary.BoundaryType boundaryType) Parameters boundaryType: OVRBoundary.BoundaryTypeReturns Vector3[] |
GetVisible
()
|
Returns true if the boundary system is currently visible.
Signature
bool OVRBoundary.GetVisible() Returns bool |
SetVisible
(
value
)
|
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)
Signature
void OVRBoundary.SetVisible(bool value) Parameters value: boolReturns void |
TestNode
(
node
, boundaryType
)
|
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.
Signature
OVRBoundary.BoundaryTestResult OVRBoundary.TestNode(OVRBoundary.Node node, OVRBoundary.BoundaryType boundaryType) Parameters node: OVRBoundary.NodeboundaryType: OVRBoundary.BoundaryTypeReturns OVRBoundary.BoundaryTestResult |
TestPoint
(
point
, boundaryType
)
|
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.
Signature
OVRBoundary.BoundaryTestResult OVRBoundary.TestPoint(Vector3 point, OVRBoundary.BoundaryType boundaryType) Parameters point: Vector3boundaryType: OVRBoundary.BoundaryTypeReturns OVRBoundary.BoundaryTestResult |
ClosestDistance
: float |
Signature
float OVRBoundary.BoundaryTestResult.ClosestDistance |
ClosestPoint
: Vector3 |
Signature
Vector3 OVRBoundary.BoundaryTestResult.ClosestPoint |
ClosestPointNormal
: Vector3 |
Signature
Vector3 OVRBoundary.BoundaryTestResult.ClosestPointNormal |
IsTriggering
: bool |
Signature
bool OVRBoundary.BoundaryTestResult.IsTriggering |
| Member | Value |
|---|---|
HandLeft | OVRPlugin.Node.HandLeft |
HandRight | OVRPlugin.Node.HandRight |
Head | OVRPlugin.Node.Head |
| Member | Value |
|---|---|
OuterBoundary | OVRPlugin.BoundaryType.OuterBoundary |
PlayArea | OVRPlugin.BoundaryType.PlayArea |