canhover - eisclimber/ExPresS-XR GitHub Wiki

ObjectCheckSocketInteractor.CanHover(IXRHoverInteractable)

Method in ObjectCheckSocketInteractor

Summary

Determines if a XRGrabInteractable can hover, i.e. is considered a valid target. Can be overwritten, but base.CanHover(interactable) should be called to ensure correct behavior.

public override bool CanHover(IXRHoverInteractable interactable);

Parameters

Name Description
UnityEngine.XR.Interaction.Toolkit.Interactables.IXRHoverInteractable interactable Interactable hovering.

Returns

If the interactable can hover.

⚠️ **GitHub.com Fallback** ⚠️