Class SimulatedHand
Inheritance
SimulatedHand
Assembly: cs.temp.dll.dll
public abstract class SimulatedHand : BaseHand, IMixedRealityHand, IMixedRealityController
Constructors
Declaration
protected SimulatedHand(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null, IMixedRealityInputSourceDefinition definition = null)
Parameters
Fields
Declaration
protected static readonly int jointCount
Field Value
Declaration
protected readonly Dictionary<TrackedHandJoint, MixedRealityPose> jointPoses
Field Value
Type |
Description |
Dictionary<TrackedHandJoint, MixedRealityPose> |
|
Properties
Declaration
public abstract ControllerSimulationMode SimulationMode { get; }
Property Value
Methods
Get the current pose of a hand joint.
Declaration
public override bool TryGetJoint(TrackedHandJoint joint, out MixedRealityPose pose)
Parameters
Type |
Name |
Description |
TrackedHandJoint |
joint |
|
MixedRealityPose |
pose |
|
Returns
Overrides
Updates the positions and orientations of the hand joints of the simulated hand
Declaration
protected abstract void UpdateHandJoints(SimulatedHandData handData)
Parameters
Type |
Name |
Description |
SimulatedHandData |
handData |
hand data provided by the simulation
|
Updates the interactions raised by the simulated hand
Declaration
protected abstract void UpdateInteractions(SimulatedHandData handData)
Parameters
Type |
Name |
Description |
SimulatedHandData |
handData |
hand data provided by the simulation
|
Declaration
public void UpdateState(SimulatedHandData handData)
Parameters
Implements