Redigera

Dela via


PlayModeTestUtilities.SetMotionControllerRotation Method

Definition

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

Parameters

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

Returns

Applies to