C# Class OVRBoundary, HoudiniLiveLink

Provides access to the Oculus boundary system.
ファイルを表示 Open project: xjorma/HoudiniLiveLink Class Usage Examples

Public Methods

Method Description
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.

Method Details

GetConfigured() public method

Returns true if the boundary system is currently configured with valid boundary data.
public GetConfigured ( ) : bool
return bool

GetDimensions() public method

Returns a vector that indicates the spatial dimensions of the specified boundary type. (x = width, y = height, z = depth)
public GetDimensions ( OVRBoundary.BoundaryType boundaryType ) : Vector3,
boundaryType OVRBoundary.BoundaryType
return Vector3,

GetGeometry() public method

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.
public GetGeometry ( OVRBoundary.BoundaryType boundaryType ) : Vector3[],
boundaryType OVRBoundary.BoundaryType
return Vector3[],

GetVisible() public method

Returns true if the boundary system is currently visible.
public GetVisible ( ) : bool
return bool

SetVisible() public method

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)
public SetVisible ( bool value ) : void
value bool
return void

TestNode() public method

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.
public TestNode ( OVRBoundary.Node node, OVRBoundary.BoundaryType boundaryType ) : OVRBoundary.BoundaryTestResult,
node OVRBoundary.Node
boundaryType OVRBoundary.BoundaryType
return OVRBoundary.BoundaryTestResult,

TestPoint() public method

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 TestPoint ( Vector3, point, OVRBoundary.BoundaryType boundaryType ) : OVRBoundary.BoundaryTestResult,
point Vector3,
boundaryType OVRBoundary.BoundaryType
return OVRBoundary.BoundaryTestResult,