API reference
API reference
Select your platform
No SDKs available
No versions available

Frustum Struct

The (symmetric) visible area in front of a sensor.
You can obtain the frustum of different trackers using OVRTracker.GetFrustum.
This example uses the global OVRTracker instance on the OVRManager to query for the sensor's frustum and then logs the sensor's visible area:
void LogFrustum()
{
    var frustum = OVRManager.tracker.GetFrustum();
    Debug.Log($"Frustum has near plane={frustum.nearZ} and far plane={frustum.farZ}");
}

Fields

The sensor's minimum supported distance to the HMD.
The sensor's maximum supported distance to the HMD.
The sensor's horizontal and vertical fields of view in degrees.
Did you find this page helpful?