C# Class OVRBoundary, HoudiniLiveLink

Provides access to the Oculus boundary system.
Afficher le fichier Open project: xjorma/HoudiniLiveLink Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

GetDimensions() public méthode

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
Résultat Vector3,

GetGeometry() public méthode

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
Résultat Vector3[],

GetVisible() public méthode

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

SetVisible() public méthode

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
Résultat void

TestNode() public méthode

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
Résultat OVRBoundary.BoundaryTestResult,

TestPoint() public méthode

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
Résultat OVRBoundary.BoundaryTestResult,