Click or drag to resize

ElementAssignmentFullAxisAssignment(Int32, Int32, Boolean, Int32) Method

Creates a struct for use in element assignment. For assignment of a full axis 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 static ElementAssignment FullAxisAssignment(
	int elementIdentifierId,
	int actionId,
	bool invert,
	int elementMapId
)

Parameters

elementIdentifierId  Int32
The element identifier id the Action will be bound to.
actionId  Int32
The id of the Action that will be bound to the controller element.
invert  Boolean
Is the axis inverted? Used only for axis assignments.
elementMapId  Int32
The id of the ActionElementMap that this assignment will be replacing. (Optional)

Return Value

ElementAssignment
ElementAssignment
See Also