Upravit

Sdílet prostřednictvím


PlayModeTestUtilities.SetHandRotation Method

Definition

public:
 static System::Collections::IEnumerator ^ SetHandRotation(UnityEngine::Quaternion fromRotation, UnityEngine::Quaternion toRotation, UnityEngine::Vector3 handPos, Microsoft::MixedReality::Toolkit::Utilities::ArticulatedHandPose::GestureId gestureId, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, int numSteps, Microsoft::MixedReality::Toolkit::Input::InputSimulationService ^ inputSimulationService);
public static System.Collections.IEnumerator SetHandRotation (UnityEngine.Quaternion fromRotation, UnityEngine.Quaternion toRotation, UnityEngine.Vector3 handPos, Microsoft.MixedReality.Toolkit.Utilities.ArticulatedHandPose.GestureId gestureId, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, int numSteps, Microsoft.MixedReality.Toolkit.Input.InputSimulationService inputSimulationService);
static member SetHandRotation : UnityEngine.Quaternion * UnityEngine.Quaternion * UnityEngine.Vector3 * Microsoft.MixedReality.Toolkit.Utilities.ArticulatedHandPose.GestureId * Microsoft.MixedReality.Toolkit.Utilities.Handedness * int * Microsoft.MixedReality.Toolkit.Input.InputSimulationService -> System.Collections.IEnumerator
Public Shared Iterator Function SetHandRotation (fromRotation As Quaternion, toRotation As Quaternion, handPos As Vector3, gestureId As ArticulatedHandPose.GestureId, handedness As Handedness, numSteps As Integer, inputSimulationService As InputSimulationService) As IEnumerator

Parameters

fromRotation
UnityEngine.Quaternion
toRotation
UnityEngine.Quaternion
handPos
UnityEngine.Vector3
handedness
Handedness
numSteps
Int32
inputSimulationService
InputSimulationService

Returns

Applies to