C# Класс OVRBoundary, HoudiniLiveLink

Provides access to the Oculus boundary system.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetConfigured() публичный Метод

Returns true if the boundary system is currently configured with valid boundary data.
public GetConfigured ( ) : bool
Результат bool

GetDimensions() публичный Метод

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
Результат Vector3,

GetGeometry() публичный Метод

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
Результат Vector3[],

GetVisible() публичный Метод

Returns true if the boundary system is currently visible.
public GetVisible ( ) : bool
Результат bool

SetVisible() публичный Метод

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
Результат void

TestNode() публичный Метод

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
Результат OVRBoundary.BoundaryTestResult,

TestPoint() публичный Метод

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
Результат OVRBoundary.BoundaryTestResult,