Interface IXRInteractionOverrideGroup
An interface that represents an Interaction Group component that is capable of overriding the interaction of the activeInteractor when another interactor tries to select any of the interactables being hovered or selected. An interactor can only override interaction when it is or is contained within a Group member that is configured as a possible override for the active Group member.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: solution.dll
Syntax
public interface IXRInteractionOverrideGroup : IXRInteractionGroup
Methods
| Name | Description |
|---|---|
| AddInteractionOverrideForGroupMember(IXRGroupMember, IXRGroupMember) | Adds |
| ClearInteractionOverridesForGroupMember(IXRGroupMember) | Clears the set of possible interaction overrides for |
| GetInteractionOverridesForGroupMember(IXRGroupMember, HashSet<IXRGroupMember>) | Returns all members in the set of possible interaction overrides for |
| GroupMemberIsPartOfOverrideChain(IXRGroupMember, IXRGroupMember) | Checks whether |
| RemoveInteractionOverrideForGroupMember(IXRGroupMember, IXRGroupMember) | Removes |
| ShouldAnyMemberOverrideInteraction(IXRInteractor, out IXRSelectInteractor) | Checks whether any member of the Group should override the interactions of |
| ShouldOverrideActiveInteraction(out IXRSelectInteractor) | Checks whether the Group should end the interactions of the activeInteractor and instead prioritize an override interactor for interaction. An interactor should only override if it exists in the set of override Group members for the active member and is capable of selecting any interactable that activeInteractor is interacting with. If multiple Group members are capable of overriding, only the highest priority one should override. |