iscloseuphandinteractor - eisclimber/ExPresS-XR GitHub Wiki
Method in RuntimeUtils
Checks if an interactor is capable of close-up interactions usually done with a hand like grabbing or poking. Has an optional option for NearFarInteractors, checking if it is currently selecting 'near'. This does not work for hovering.
public static bool IsCloseUpHandInteractor(IXRInteractor interactor, bool includeNearFar = false)| Name | Description |
|---|---|
UnityEngine.XR.Interaction.Toolkit.Interactors.IXRInteractor interactor |
Interactor in question. |
bool includeNearFar |
Allows if an NearFarSelectors too. Default: false |
If the interactor considered a close up hand interactor.