PlayModeTestUtilities.SetMotionControllerState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- buttonState
- SimulatedMotionControllerButtonState
- handedness
- Handedness
- inputSimulationService
- InputSimulationService