Method IsHovered
IsHovered(IXRHoverInteractor)
Determines whether this Interactable is currently being hovered by the Interactor.
Declaration
public bool IsHovered(IXRHoverInteractor interactor)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRHoverInteractor | interactor | Interactor to check. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if this Interactable is currently being hovered by the Interactor.
Otherwise, returns |
Remarks
In other words, returns whether interactorsHovering contains interactor.
See Also
IsHovered(IXRInteractor)
Determines whether this Interactable is currently being hovered by the Interactor.
Declaration
protected bool IsHovered(IXRInteractor interactor)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRInteractor | interactor | Interactor to check. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if this Interactable is currently being hovered by the Interactor.
Otherwise, returns |
Remarks
In other words, returns whether interactorsHovering contains interactor.