Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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

XRSessionSubsystem

class in UnityEngine.Experimental.XR

/

Inherits from:Experimental.Subsystem

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

Public Methods

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

Did you find this page useful? Please give it a rating: