Language
Edit

IPokeInteractor Interface

Definition

An interface that all poke-like interactors implement.

public interface IPokeInteractor : UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractor, UnityEngine.XR.Interaction.Toolkit.IXRSelectInteractor
type IPokeInteractor = interface
    interface IXRHoverInteractor
    interface IXRInteractor
    interface IXRSelectInteractor
Public Interface IPokeInteractor
Implements IXRHoverInteractor, IXRSelectInteractor
Derived
Implements
UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractor UnityEngine.XR.Interaction.Toolkit.IXRInteractor UnityEngine.XR.Interaction.Toolkit.IXRSelectInteractor

Remarks

Interactors that implement this interface are expected to use the UnityEngine.XR.Interaction.Toolkit.IXRInteractor.GetAttachTransform(UnityEngine.XR.Interaction.Toolkit.IXRInteractable) to specify the point at which the poke occurs. Typically, this would be the tip of the index finger for an articulated hand, or a predetermined poking point on a motion controller rig.

Properties

Name Description
PokeRadius

The radius of the poking point.

PokeTrajectory

The path that the poke has taken over the course of the last frame.

Applies to