IPokeInteractor Interface
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.
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
-
Unity
Engine. UnityXR. Interaction. Toolkit. IXRHover Interactor Engine. UnityXR. Interaction. Toolkit. IXRInteractor Engine. XR. Interaction. Toolkit. IXRSelect Interactor
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.
Poke |
The radius of the poking point. |
Poke |
The path that the poke has taken over the course of the last frame. |
منتج | الإصدارات |
---|---|
MRTK3 Core Definitions | 3.0, 3.1, 3.2 |