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.