Click or drag to resize

Player.ControllerHelper.MapHelper.GetAxisMapsWithAction Method (Controller, String, Boolean, List<ActionElementMap>)

Gets a list of all axis ActionElementMaps for a specific controller that contains 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 GetAxisMapsWithAction(
	Controller controller,
	string actionName,
	bool skipDisabledMaps,
	List<ActionElementMap> results
)

Parameters

controller
Type: Rewired.Controller
The Controller.
actionName
Type: System.String
Name of the Action
skipDisabledMaps
Type: System.Boolean
Should disabled Controller Maps and Action Element Maps be skipped?
results
Type: System.Collections.Generic.List<ActionElementMap>
The list that will be filled with the results.

Return Value

Type: Int32
Number of maps found.
Exceptions
ExceptionCondition
ArgumentNullExceptionresults is null
See Also