Method EndSocketSnapping
EndSocketSnapping(XRGrabInteractable)
Ends socket snapping for a specified XRGrabInteractable object.
Declaration
protected virtual bool EndSocketSnapping(XRGrabInteractable grabInteractable)
Parameters
| Type | Name | Description |
|---|---|---|
| XRGrabInteractable | grabInteractable | The XRGrabInteractable object to end socket snapping for. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if the specified grab interactable was found and removed; otherwise, false. |
Remarks
Removes the specified grab interactable from the local interactables with socket transformer list and removes it from the socket grab transformer.