Method CanHoverSnap
CanHoverSnap(IXRInteractable)
Determines whether the specified IXRInteractable object can hover snap.
Declaration
protected virtual bool CanHoverSnap(IXRInteractable interactable)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRInteractable | interactable | The IXRInteractable object to check for hover snap capability. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if hover socket snapping is enabled and the interactable has no selection or is selecting; otherwise, false. |
Remarks
This method checks whether hover socket snapping is allowed and whether the specified interactable has no current selection or is in the process of selecting.