PlayModeTestUtilities.GetPointer<T>(Handedness) 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.
C++
public:
generic <typename T>
where T : class, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointer static T GetPointer(Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness);
public static T GetPointer<T> (Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness) where T : class, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer;
static member GetPointer : Microsoft.MixedReality.Toolkit.Utilities.Handedness -> 'T (requires 'T : null and 'T :> Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer)
Public Shared Function GetPointer(Of T As {Class, IMixedRealityPointer}) (handedness As Handedness) As T
- T
- handedness
- Handedness
T
Produit | Versions |
---|---|
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 |