Edit

HandJointInteractor Class

Definition

An abstract XRDirectInteractor that represents a near interaction driven by articulated hand data. Implementers should define TryGetInteractionPoint(Pose) to specify the desired interaction point, using the cached reference to the hands aggregator subsystem.

public abstract class HandJointInteractor : UnityEngine.XR.Interaction.Toolkit.XRDirectInteractor, MixedReality.Toolkit.IHandedInteractor
type HandJointInteractor = class
    inherit XRDirectInteractor
    interface IHandedInteractor
    interface IXRInteractor
Public MustInherit Class HandJointInteractor
Inherits XRDirectInteractor
Implements IHandedInteractor
Inheritance
UnityEngine.XR.Interaction.Toolkit.XRDirectInteractor
HandJointInteractor
Derived
Implements
IHandedInteractor UnityEngine.XR.Interaction.Toolkit.IXRInteractor

Constructors

HandJointInteractor()

Properties

isHoverActive

Indicates whether this Interactor is in a state where it could hover.

Methods

ProcessInteractor(XRInteractionUpdateOrder+UpdatePhase)

Unity's XRInteractionManager or containing IXRInteractionGroup calls this method to update the Interactor before interaction events occur. See Unity's documentation for more information.

TryGetInteractionPoint(Pose)

Concrete implementations should override this function to specify the point at which the interaction occurs. This would be the tip of the index finger for a poke interactor, or some other computed position from other data sources.

Explicit Interface Implementations

IHandedInteractor.Handedness

Returns the Handedness of this interactor.

Applies to