Class XRGroupMemberExtensions
Extension methods for IXRGroupMember.
Inherited Members
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 |