PointerUtils.GetPointer<T>(Handedness) 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.
Find the first detected pointer of the given type with matching handedness.
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
Type Parameters
- T
Parameters
- handedness
- Handedness
Returns
T