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

XRSessionSubsystem

class in UnityEngine.Experimental.XR

/

Inherits from:IntegratedSubsystem

/

Implemented in:UnityEngine.XRModule

Description 描述

A collection of methods and properties used to interact with and configure an XR session.

Properties 属性

LastUpdatedFrameThe frame during which the tracking state was last updated.
TrackingStateGet current tracking status of the device.

Events

TrackingStateChangedRaised when the TrackingState changes.

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.