Editar

Compartilhar via


TestHand Class

Definition

Utility class to use a simulated hand

public ref class TestHand : Microsoft::MixedReality::Toolkit::Tests::TestController
public class TestHand : Microsoft.MixedReality.Toolkit.Tests.TestController
type TestHand = class
    inherit TestController
Public Class TestHand
Inherits TestController
Inheritance

Constructors

TestHand(Handedness)

Fields

handedness (Inherited from TestController)
position (Inherited from TestController)
rotation (Inherited from TestController)
simulationService (Inherited from TestController)

Methods

Click()

Combined sequence of pinching and unpinching

GetPointer<T>()

Return the first pointer of given type that is associated with this controller

(Inherited from TestController)
GetVelocity()

Return the velocity of the simulated controller

(Inherited from TestController)
GrabAndThrowAt(Vector3, Boolean, Int32)

Combined sequence of pinching, moving, and releasing.

Hide(Boolean)

Hide the controller

Move(Vector3, Int32)

Move the controller by some given delta

MoveTo(Vector3, Int32, Boolean)

Move controller to given position over some number of frames

SetGesture(ArticulatedHandPose+GestureId, Boolean)

Changes the hand's pose to the given gesture. Does not animate the hand between the current pose and new pose.

SetRotation(Quaternion, Int32)

Rotate the controller to new rotation

Show(Vector3, Boolean)

Show the controller at a specified position

Applies to