Modifier

Partager via


WindowsExtensions.ToMRTKHandedness(SpatialInteractionSourceHandedness) Method

Definition

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.

Applies to