WindowsExtensions.ToMRTKHandedness(SpatialInteractionSourceHandedness) 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.
Converts a platform Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSourceHandedness into the equivalent value in MRTK's defined Handedness.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::MixedReality::Toolkit::Utilities::Handedness ToMRTKHandedness(Microsoft::Windows::UI::Input::Spatial::SpatialInteractionSourceHandedness handedness);
public static Microsoft.MixedReality.Toolkit.Utilities.Handedness ToMRTKHandedness (this Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSourceHandedness handedness);
static member ToMRTKHandedness : Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSourceHandedness -> Microsoft.MixedReality.Toolkit.Utilities.Handedness
<Extension()>
Public Function ToMRTKHandedness (handedness As SpatialInteractionSourceHandedness) As Handedness
Parameters
- handedness
- Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSourceHandedness
The handedness value to convert.
Returns
The converted value in the new type.