Modifier

Partager via


PlayModeTestUtilities.SetMotionControllerState Method

Definition

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

Parameters

motionControllerPos
UnityEngine.Vector3
handedness
Handedness
inputSimulationService
InputSimulationService

Returns

Applies to