BaseInputSourceDefinition.GetDefaultMappings(Handedness) Method
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.
Provides the default interactions for this source type with a specific handedness.
C++
public:
virtual System::Collections::Generic::IReadOnlyList<Microsoft::MixedReality::Toolkit::Input::MixedRealityInputActionMapping ^> ^ GetDefaultMappings(Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness);
public System.Collections.Generic.IReadOnlyList<Microsoft.MixedReality.Toolkit.Input.MixedRealityInputActionMapping> GetDefaultMappings (Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness);
abstract member GetDefaultMappings : Microsoft.MixedReality.Toolkit.Utilities.Handedness -> System.Collections.Generic.IReadOnlyList<Microsoft.MixedReality.Toolkit.Input.MixedRealityInputActionMapping>
override this.GetDefaultMappings : Microsoft.MixedReality.Toolkit.Utilities.Handedness -> System.Collections.Generic.IReadOnlyList<Microsoft.MixedReality.Toolkit.Input.MixedRealityInputActionMapping>
Public Function GetDefaultMappings (handedness As Handedness) As IReadOnlyList(Of MixedRealityInputActionMapping)
- handedness
- Handedness
The handedness the mappings should be provided for.
The default interactions for this source with a specific handedness.
Produkt | Verzie |
---|---|
MRTK2 Unity 2018 | 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.6.0, 2.7.0, 2.8.0 |