Click or drag to resize

ElementAssignment Constructor (Int32, Int32, Pole, Int32)

A struct for use in element assignment. Overload for assignment of a button to replace an existing element map.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ElementAssignment(
	int elementIdentifierId,
	int actionId,
	Pole axisContribution,
	int elementMapId
)

Parameters

elementIdentifierId
Type: SystemInt32
The element identifier id the Action will be bound to.
actionId
Type: SystemInt32
The id of the Action that will be bound to the controller element.
axisContribution
Type: RewiredPole
Does this Action contribute positive or negative values to the final Action's input value? Used for split axis and button/key assignments.
elementMapId
Type: SystemInt32
The id of the ActionElementMap that this assignment will be replacing. (Optional)
See Also