Language
Edit

HandsAggregatorSubsystem Class

Definition

Subsystem for aggregating skeletal hand joint data from all available sources.

[UnityEngine.Scripting.Preserve]
public class HandsAggregatorSubsystem : MixedReality.Toolkit.Subsystems.MRTKSubsystem<MixedReality.Toolkit.Subsystems.HandsAggregatorSubsystem,MixedReality.Toolkit.Subsystems.MRTKSubsystemDescriptor<MixedReality.Toolkit.Subsystems.HandsAggregatorSubsystem,MixedReality.Toolkit.Subsystems.HandsAggregatorSubsystem.Provider>,MixedReality.Toolkit.Subsystems.HandsAggregatorSubsystem.Provider>, MixedReality.Toolkit.Subsystems.IHandsAggregatorSubsystem
[<UnityEngine.Scripting.Preserve>]
type HandsAggregatorSubsystem = class
    inherit MRTKSubsystem<HandsAggregatorSubsystem, MRTKSubsystemDescriptor<HandsAggregatorSubsystem, HandsAggregatorSubsystem.Provider>, HandsAggregatorSubsystem.Provider>
    interface IHandsAggregatorSubsystem
    interface ISubsystem
Public Class HandsAggregatorSubsystem
Inherits MRTKSubsystem(Of HandsAggregatorSubsystem, MRTKSubsystemDescriptor(Of HandsAggregatorSubsystem, HandsAggregatorSubsystem.Provider), HandsAggregatorSubsystem.Provider)
Implements IHandsAggregatorSubsystem
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<TSubsystem,TSubsystemDescriptor,TProvider>
HandsAggregatorSubsystem
Derived
Attributes
UnityEngine.Scripting.PreserveAttribute
Implements
IHandsAggregatorSubsystem UnityEngine.ISubsystem

Remarks

Implementations can aggregate hand joint data from multiple APIs, or from multiple HandsSubsystem objects, or from any other source they choose.

Recommended use is for aggregating from all loaded HandsSubsystem object. See MRTKHandsAggregatorSubsystem for the MRTK implementation.

Constructors

Name Description
HandsAggregatorSubsystem()

Initializes a new instance of the HandsAggregatorSubsystem class.

Methods

Name Description
OnFixedUpdate()

Called in response to the lifecycle manager fix update event function being called, if this subsystem is running.

(Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
OnLateUpdate()

Called in response to the lifecycle manager late update event function being called, if this subsystem is running.

(Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
OnUpdate()

Called in response to the lifecycle manager update event function being called, if this subsystem is running.

(Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
Register(MRTKSubsystemCinfo)

Registers a hands subsystem implementation based on the given subsystem parameters.

TryGetEntireHand(XRNode, IReadOnlyList<HandJointPose>)

Get a read-only reference to the entire hand.

TryGetJoint(TrackedHandJoint, XRNode, HandJointPose)

Queries a specific hand joint, specified by joint.

TryGetNearInteractionPoint(XRNode, HandJointPose)

The play space local pose of the near interaction point.

TryGetPalmFacingAway(XRNode, Boolean)

Whether the palm of the given handedness is facing away from the user

TryGetPinchingPoint(XRNode, HandJointPose)

The play space local pose of the grab/pinch location.

TryGetPinchProgress(XRNode, Boolean, Boolean, Single)

How pinched the specific hand is.

Explicit Interface Implementations

Name Description
IMRTKManagedSubsystem.FixedUpdate() (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
IMRTKManagedSubsystem.LateUpdate() (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
IMRTKManagedSubsystem.Update() (Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)

Applies to