CollectionsExtensions.GetInteractionByType 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.
Overload extension to enable getting of an InteractionDefinition of a specific type
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::MixedReality::Toolkit::Input::MixedRealityInteractionMapping ^ GetInteractionByType(cli::array <Microsoft::MixedReality::Toolkit::Input::MixedRealityInteractionMapping ^> ^ input, Microsoft::MixedReality::Toolkit::Input::DeviceInputType key);
public static Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping GetInteractionByType (this Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] input, Microsoft.MixedReality.Toolkit.Input.DeviceInputType key);
static member GetInteractionByType : Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] * Microsoft.MixedReality.Toolkit.Input.DeviceInputType -> Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping
<Extension()>
Public Function GetInteractionByType (input As MixedRealityInteractionMapping(), key As DeviceInputType) As MixedRealityInteractionMapping
Parameters
- input
- MixedRealityInteractionMapping[]
The InteractionDefinition array reference
- key
- DeviceInputType
The specific DeviceInputType value to query