메소드 | 설명 | |
---|---|---|
GetConfigured ( ) : bool |
Returns true if the boundary system is currently configured with valid boundary data.
|
|
GetDimensions ( OVRBoundary.BoundaryType boundaryType ) : Vector3, |
Returns a vector that indicates the spatial dimensions of the specified boundary type. (x = width, y = height, z = depth)
|
|
GetGeometry ( OVRBoundary.BoundaryType boundaryType ) : Vector3[], |
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.
|
|
GetVisible ( ) : bool |
Returns true if the boundary system is currently visible.
|
|
SetVisible ( bool value ) : void |
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)
|
|
TestNode ( OVRBoundary.Node node, OVRBoundary.BoundaryType boundaryType ) : OVRBoundary.BoundaryTestResult, |
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.
|
|
TestPoint ( Vector3, point, OVRBoundary.BoundaryType boundaryType ) : OVRBoundary.BoundaryTestResult, |
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.
|
public GetDimensions ( OVRBoundary.BoundaryType boundaryType ) : Vector3, | ||
boundaryType | OVRBoundary.BoundaryType | |
리턴 | Vector3, |
public GetGeometry ( OVRBoundary.BoundaryType boundaryType ) : Vector3[], | ||
boundaryType | OVRBoundary.BoundaryType | |
리턴 | Vector3[], |
public TestNode ( OVRBoundary.Node node, OVRBoundary.BoundaryType boundaryType ) : OVRBoundary.BoundaryTestResult, | ||
node | OVRBoundary.Node | |
boundaryType | OVRBoundary.BoundaryType | |
리턴 | OVRBoundary.BoundaryTestResult, |
public TestPoint ( Vector3, point, OVRBoundary.BoundaryType boundaryType ) : OVRBoundary.BoundaryTestResult, | ||
point | Vector3, | |
boundaryType | OVRBoundary.BoundaryType | |
리턴 | OVRBoundary.BoundaryTestResult, |