اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


IPokeInteractor Interface

Definition

An interface that all poke-like interactors implement.

C#
public interface IPokeInteractor : UnityEngine.XR.Interaction.Toolkit.IXRHoverInteractor, UnityEngine.XR.Interaction.Toolkit.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

PokeRadius

The radius of the poking point.

PokeTrajectory

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

Applies to

منتج الإصدارات
MRTK3 Core Definitions 3.0, 3.1, 3.2