TestMotionController.SelectAndThrowAt(Vector3, Boolean, Int32) Method
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.
Combined sequence of selecting, moving, and releasing.
C#
public System.Collections.IEnumerator SelectAndThrowAt (UnityEngine.Vector3 positionToRelease, bool waitForFinalFixedUpdate, int numSteps = 30);
member this.SelectAndThrowAt : UnityEngine.Vector3 * bool * int -> System.Collections.IEnumerator
Public Iterator Function SelectAndThrowAt (positionToRelease As Vector3, waitForFinalFixedUpdate As Boolean, Optional numSteps As Integer = 30) As IEnumerator
- positionToRelease
- UnityEngine.Vector3
The position to which the hand moves while pinching
- waitForFinalFixedUpdate
- Boolean
Wait for a final physics update after releasing
- numSteps
- Int32
Number of steps of the hand movement
Produkt | Versioner |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |