WindowsExtensions Class

Definition

Provides useful extensions for Windows-defined types.

C++
public ref class WindowsExtensions abstract sealed
Inheritance
WindowsExtensions

Methods

GetSpatialInteractionSource(Handedness, InputSourceType)

Tries to get an active SpatialInteractionSource with the corresponding handedness and input source type.

ToMRTKHandedness(SpatialInteractionSourceHandedness)

Converts a platform Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSourceHandedness into the equivalent value in MRTK's defined Handedness.

Applies to

Producto Versiones
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