This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

XRDepthSubsystem

class in UnityEngine.Experimental.XR

/

Inherits from:IntegratedSubsystem

/

Implemented in:UnityEngine.XRModule

Description

Provides access to depth data of the physical environment, such as a point cloud.

Properties

LastUpdatedFrameThe frame during which the point cloud was last updated.

Public Methods

GetConfidenceRetrieves the confidence values for each point in the point cloud.
GetPointsRetrieves the point cloud points.

Events

PointCloudUpdatedRaised once during each frame in which the point cloud is updated.

Inherited Members

Properties

runningWhether or not the subsystem is running.

Public Methods

DestroyDestroys this instance of a subsystem.
StartStarts an instance of a subsystem.
StopStops an instance of a subsystem.