Click or drag to resize

ControllerMapGetElementMapsWithElementTarget Method (IControllerElementTarget, Int32, Boolean, ListActionElementMap)

Gets all ActionElementMaps that map to a specific controller element target and a specific Action.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int GetElementMapsWithElementTarget(
	IControllerElementTarget elementTarget,
	int actionId,
	bool skipDisabledMaps,
	List<ActionElementMap> results
)

Parameters

elementTarget
Type: RewiredIControllerElementTarget
Target controller element
actionId
Type: SystemInt32
The id of the Action
skipDisabledMaps
Type: SystemBoolean
Should disabled ActionElementMaps be skipped?
results
Type: System.Collections.GenericListActionElementMap
The results list which will be filled with the results.

Return Value

Type: Int32
Returns the count of results returned.
See Also