CanvasProxyInteractor.StartHover Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| StartHover(IXRHoverInteractable) |
Begin hovering the interactable. The interactable will receive
|
| StartHover(IXRHoverInteractable, Vector3) |
Begin hovering the interactable. The interactable will receive
|
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