Method GetHoveredInteractableMaterial
GetHoveredInteractableMaterial(IXRHoverInteractable)
Gets the material used to draw the given hovered Interactable.
Declaration
protected virtual Material GetHoveredInteractableMaterial(IXRHoverInteractable interactable)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRHoverInteractable | interactable | The hovered Interactable to get the material for. |
Returns
| Type | Description |
|---|---|
| Material | Returns the material Unity should use to draw the given hovered Interactable. |