Method GetAttachTransform
GetAttachTransform(IXRInteractable)
Gets the Transform that is used as the attachment point for a given Interactable.
Declaration
Transform GetAttachTransform(IXRInteractable interactable)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRInteractable | interactable | The specific Interactable as context to get the attachment point for. |
Returns
| Type | Description |
|---|---|
| Transform | Returns the attachment point Transform. |
Remarks
This should typically return the Transform of a child GameObject or the transform itself.