docs.unity3d.com
    Show / Hide Table of Contents

    Class XRGroupMemberExtensions

    Extension methods for IXRGroupMember.

    Inheritance
    Object
    XRGroupMemberExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023