class in UnityEngine.Experimental.XR
/
Inherits from:IntegratedSubsystem
/
Implemented in:UnityEngine.XRModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseProvides methods and properties that allow for querying information specific to the platform experience.
experienceType | Instance of XRExperienceSubsystem.ExperienceType that describes the experience the current session is running in. |
trackingOrigin | Used to get the current XRExperienceSubsystem.TrackingOrigin that determines the origin of the current XR space. |
GetAllBoundaryPoints | If the current expereince is XRExperienceSubsystem.ExperienceType.Bounded, this will return the set of points that describe the bounded area the user can move within. For any other experience type this will return an empty list. |
BoundaryChanged | Event fired if a provider detects a boundary change. Clients subscribing to this event should call into XRExperienceSubsystem.GetAllBoundaryPoints to refresh their data. |
ExperienceTypeChanged | Event fired if a provider detects a boundary change. Clients subscribing to this event should access XRExperienceSubsystem.experienceType to refresh their data. |