PlayModeTestUtilities.SetMotionControllerRotation 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 ^ 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
- buttonState
- SimulatedMotionControllerButtonState
- handedness
- Handedness
- numSteps
- Int32
- inputSimulationService
- InputSimulationService