Version: 2018.1
Experimental: this API is experimental and might be changed or removed in the future.

XRDepthSubsystem

class in UnityEngine.Experimental.XR

/

Inherits from:Experimental.Subsystem

Switch to Manual

Description

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

Variables

LastUpdatedFrameThe frame during which the point cloud was last updated.

Public Functions

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

Public Functions

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