docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRGroupMemberExtensions

    Extension methods for IXRGroupMember.

    Inheritance
    object
    XRGroupMemberExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Interactors
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    [MovedFrom("UnityEngine.XR.Interaction.Toolkit")]
    public static class XRGroupMemberExtensions

    Methods

    GetTopLevelContainingGroup(IXRGroupMember)

    Gets the last Interaction Group in this Group member's chain of containing Groups that are contained within other Groups. The Interaction Group returned will have no containing Group.

    Declaration
    public static IXRInteractionGroup GetTopLevelContainingGroup(this IXRGroupMember groupMember)
    Parameters
    Type Name Description
    IXRGroupMember groupMember

    The Group member to operate on.

    Returns
    Type Description
    IXRInteractionGroup

    Returns the last Interaction Group in this Group member's chain of containing Groups that are contained within other Groups. The Interaction Group returned will have no containing Group. Returns null if groupMember does not have a containing Group.

    See Also
    IXRGroupMember

    See Also

    IXRGroupMember
    In This Article
    Back to top
    Copyright © 2025 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)