Click or drag to resize

ControllerMap.GetButtonMapMatches 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
C#
public int GetButtonMapMatches(
	Predicate<ActionElementMap> predicate,
	List<ActionElementMap> results
)

Parameters

predicate  Predicate<ActionElementMap>
The Predicate delegate that defines the conditions to match.
results  List<ActionElementMap>
The list to be filled with results.

Return Value

Int32
Number of matches.
Exceptions
ExceptionCondition
ArgumentNullExceptionpredicate is null.
ArgumentNullExceptionresults is null.
See Also