ControllerMapGetButtonMapMatches Method |
Finds all Button Maps that match the conditions defined by the specified predicate.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public int GetButtonMapMatches(
Predicate<ActionElementMap> predicate,
List<ActionElementMap> results
)
Parameters
- predicate
- Type: SystemPredicateActionElementMap
The Predicate delegate that defines the conditions to match. - results
- Type: System.Collections.GenericListActionElementMap
The list to be filled with results.
Return Value
Type:
Int32Number of matches.
Exceptions Exception | Condition |
---|
ArgumentNullException | predicate is null. |
ArgumentNullException | results is null. |
See Also