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

DepthTextureAccess Class

Extends MonoBehaviour

Properties

Edge-aligned square size (in pixels) of the downsampled depth texture used for CPU readback and intersection tests.
This is dynamically determined from the depth texture at runtime.Only access this property after IsInitialized is true to ensure the texture size has been properly determined from the actual depth texture.
Indicates whether the depth texture has been initialized and TextureSize has been set.

Fields

Invoked when a new depth frame has been copied to CPU memory.
Supplies a DepthFrameData struct with depth values and view/projection data for consumers such as ObjectDetectionVisualizer.

Member Functions

Triggers a depth sample immediately.
Called by inference agents to synchronize depth sampling with inference runs.