Struct XrStationaryReferenceSpaceFeature.StationarySpaceChangedEventArgs
Args class for the stationary space changed event.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features.Extensions.StationaryReferenceSpace
Assembly: Unity.XR.OpenXR.dll
Syntax
public struct XrStationaryReferenceSpaceFeature.StationarySpaceChangedEventArgs
Properties
featureSender
The XrStationaryReferenceSpaceFeature that sent this event.
Declaration
public readonly XrStationaryReferenceSpaceFeature featureSender { get; }
Property Value
| Type | Description |
|---|---|
| XrStationaryReferenceSpaceFeature |
Methods
TryGetPoseInPreviousSpace(out Pose)
Attempts to retrieve the pose of the new stationary space origin relative to the old stationary space origin.
Declaration
public bool TryGetPoseInPreviousSpace(out Pose poseInPreviousSpace)
Parameters
| Type | Name | Description |
|---|---|---|
| Pose | poseInPreviousSpace | The pose of the new stationary space relative to the old origin if successful. Identity otherwise. |
Returns
| Type | Description |
|---|---|
| bool | True if and only if the XR runtime can determine the pose of the new origin relative to the old one. |