Modifier

Partager via


WindowsExtensions Class

Definition

Provides useful extensions for Windows-defined types.

public ref class WindowsExtensions abstract sealed
public static class WindowsExtensions
type WindowsExtensions = class
Public Module WindowsExtensions
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