Click or drag to resize

ElementAssignmentInfo Class

Describes a pending element assignment.
Inheritance Hierarchy
SystemObject
  RewiredElementAssignmentInfo

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class ElementAssignmentInfo

The ElementAssignmentInfo type exposes the following members.

Properties
  NameDescription
Public propertyaction
The Action that will be bound to the controller element.
Public propertyaxisContribution
Does this Action contribute positive or negative values to the final Action's input value? Used for split axis and button/key assignments.
Public propertyaxisRange
The range of the axis of this assignment. Use Positive or Negative to assign a split axis or Full for a single unified axis assignment.
Public propertycontroller
The controller that the assignment is for.
Public propertycontrollerId
The controller id of the controller the assignment is for.
Public propertycontrollerMap
The ControllerMap that will recieve the assignment.
Public propertycontrollerType
The controller type of the controller the assignment is for.
Public propertyelementDisplayName
The display name of the element in this assignment.
Public propertyelementIdentifier
The element identifier of the assignment.
Public propertyelementMap
The ActionElementMap that this assignment will be replacing. Null if not a replacement assignment.
Public propertyelementType
The controller element type.
Public propertyinvert
Is the axis inverted? Used only for axis assignments.
Public propertykeyCode
The key code of the keyboard key assignment. (Only applies to keyboard maps.)
Public propertymodifierKeyFlags
The modifier key flags of the keyboard key assignment. (Only applies to keyboard maps.)
Public propertyplayer
The Player this assignment is for.
Top
See Also