CollectionsExtensions.GetInteractionByType Method

Definition

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

Returns

Applies to