TestController.Move(Vector3, Int32) 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.
Move the controller by some given delta
public abstract System.Collections.IEnumerator Move (UnityEngine.Vector3 delta, int numSteps = -1);
abstract member Move : UnityEngine.Vector3 * int -> System.Collections.IEnumerator
Public MustOverride Function Move (delta As Vector3, Optional numSteps As Integer = -1) As IEnumerator
Parameters
- delta
- UnityEngine.Vector3
Amount to move the controller by.
- numSteps
- Int32
How many frames to move over. This defaults to the "sentinel" value which tells the system to use the default number of steps. For more information on this value, see Microsoft.MixedReality.Toolkit.Tests.PlayModeTestUtilities.ControllerMoveStepsSentinelValue