docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrStationaryReferenceSpaceFeature.StationarySpaceChangedEventArgs

    Args class for the stationary space changed event.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)