Language
Edit

CanvasProxyInteractor.StartHover Method

Definition

Overloads

Name Description
StartHover(IXRHoverInteractable)

Begin hovering the interactable. The interactable will receive OnHoverEntering and OnHoverEntered events, and the proxy interactor will include it in its list of valid targets.

StartHover(IXRHoverInteractable, Vector3)

Begin hovering the interactable. The interactable will receive OnHoverEntering and OnHoverEntered events, and the proxy interactor will include it in its list of valid targets. Also includes the worldPosition of the pointer.

StartHover(IXRHoverInteractable)

Begin hovering the interactable. The interactable will receive OnHoverEntering and OnHoverEntered events, and the proxy interactor will include it in its list of valid targets.

public void StartHover(UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable target);
abstract member StartHover : UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable -> unit
override this.StartHover : UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable -> unit
Public Sub StartHover (target As IXRHoverInteractable)

Parameters

target
UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable

Implements

Applies to

StartHover(IXRHoverInteractable, Vector3)

Begin hovering the interactable. The interactable will receive OnHoverEntering and OnHoverEntered events, and the proxy interactor will include it in its list of valid targets. Also includes the worldPosition of the pointer.

public void StartHover(UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable target, UnityEngine.Vector3 worldPosition);
abstract member StartHover : UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable * UnityEngine.Vector3 -> unit
override this.StartHover : UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable * UnityEngine.Vector3 -> unit
Public Sub StartHover (target As IXRHoverInteractable, worldPosition As Vector3)

Parameters

target
UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractable
worldPosition
UnityEngine.Vector3

Implements

Applies to