⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

struct SensorDepthFrame

Per-frame metadata for sensor depth. Contains timestamps, dimensions, near/far planes, and per-eye camera metadata.

Instance Fields and Properties

   
Int64 captureTime The actual capture time of the depth sensor images, in OpenXR time units (nanoseconds). Zero if the runtime does not support it.
Int64 displayTime The predicted display time this frame was acquired for, in OpenXR time units (nanoseconds).
float farZ Far clip plane of the depth projection, in meters.
uint height Height of a single eye’s depth image, in pixels.
float nearZ Near clip plane of the depth projection, in meters.
SensorDepthView[] views Per-eye depth camera metadata. Index 0 is left, index 1 is right.
uint width Width of a single eye’s depth image, in pixels.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!