count
: int
[Get] |
Returns the number of sensors currently connected to the system.
Signature
int count |
isEnabled
: bool
[Get][Set] |
If this is true and a sensor is available, the system will use position tracking when isPositionTracked is also true.
Signature
bool isEnabled |
isPositionTracked
: bool
[Get] |
If true, the sensor is actively tracking the HMD's position.
Otherwise the HMD may be temporarily occluded, the system may not support position tracking, etc.
Signature
bool isPositionTracked |
isPresent
: bool
[Get] |
If true, a sensor is attached to the system.
Signature
bool isPresent |
GetFrustum
(
tracker
)
|
Gets the sensor's viewing frustum.
Signature
Frustum GetFrustum(int tracker=0) Parameters tracker: intReturns Frustum |
GetPose
(
tracker
)
|
Gets the sensor's pose, relative to the head's pose at the time of the last pose recentering.
Signature
OVRPose GetPose(int tracker=0) Parameters tracker: intReturns OVRPose |
GetPoseValid
(
tracker
)
|
If true, the pose of the sensor is valid and is ready to be queried.
Signature
bool GetPoseValid(int tracker=0) Parameters tracker: intReturns bool |
GetPresent
(
tracker
)
|
Signature
bool GetPresent(int tracker=0) Parameters tracker: intReturns bool |
farZ
: float |
The sensor's maximum supported distance to the HMD.
Signature
float farZ |
fov
: Vector2 |
The sensor's horizontal and vertical fields of view in degrees.
Signature
Vector2 fov |
nearZ
: float |
The sensor's minimum supported distance to the HMD.
Signature
float nearZ |