mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class SimulatedHandData

    Snapshot of simulated hand data.

    Inheritance
    Object
    SimulatedHandData
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class SimulatedHandData

    Properties

    IsPinching

    Declaration
    public bool IsPinching { get; }
    Property Value
    Type Description
    Boolean

    IsPinching

    Declaration
    public bool IsPinching { get; }
    Property Value
    Type Description
    Boolean

    IsTracked

    Declaration
    public bool IsTracked { get; }
    Property Value
    Type Description
    Boolean

    IsTracked

    Declaration
    public bool IsTracked { get; }
    Property Value
    Type Description
    Boolean

    Joints

    Declaration
    public MixedRealityPose[] Joints { get; }
    Property Value
    Type Description
    MixedRealityPose[]

    Joints

    Declaration
    public MixedRealityPose[] Joints { get; }
    Property Value
    Type Description
    MixedRealityPose[]

    Methods

    Copy(SimulatedHandData)

    Declaration
    public void Copy(SimulatedHandData other)
    Parameters
    Type Name Description
    SimulatedHandData other

    Copy(SimulatedHandData)

    Declaration
    public void Copy(SimulatedHandData other)
    Parameters
    Type Name Description
    SimulatedHandData other

    Update(Boolean, Boolean, SimulatedHandData.HandJointDataGenerator)

    Replace the hand data with the given values.

    Declaration
    public bool Update(bool isTrackedNew, bool isPinchingNew, SimulatedHandData.HandJointDataGenerator generator)
    Parameters
    Type Name Description
    Boolean isTrackedNew

    True if the hand is currently tracked.

    Boolean isPinchingNew

    True if the hand is in a pinching pose that causes a "Select" action.

    SimulatedHandData.HandJointDataGenerator generator

    Generator function that produces joint positions and rotations. The joint data generator is only used when the hand is tracked.

    Returns
    Type Description
    Boolean

    True if the hand data has been changed.

    Remarks

    The timestamp of the hand data will be the current time, see DateTime.UtcNow.

    Update(Boolean, Boolean, SimulatedHandData.HandJointDataGenerator)

    Replace the hand data with the given values.

    Declaration
    public bool Update(bool isTrackedNew, bool isPinchingNew, SimulatedHandData.HandJointDataGenerator generator)
    Parameters
    Type Name Description
    Boolean isTrackedNew

    True if the hand is currently tracked.

    Boolean isPinchingNew

    True if the hand is in a pinching pose that causes a "Select" action.

    SimulatedHandData.HandJointDataGenerator generator

    Generator function that produces joint positions and rotations. The joint data generator is only used when the hand is tracked.

    Returns
    Type Description
    Boolean

    True if the hand data has been changed.

    Remarks

    The timestamp of the hand data will be the current time, see DateTime.UtcNow.

    In This Article
    • Properties
      • IsPinching
      • IsPinching
      • IsTracked
      • IsTracked
      • Joints
      • Joints
    • Methods
      • Copy(SimulatedHandData)
      • Copy(SimulatedHandData)
      • Update(Boolean, Boolean, SimulatedHandData.HandJointDataGenerator)
      • Update(Boolean, Boolean, SimulatedHandData.HandJointDataGenerator)
    Back to top Generated by DocFX