Click or drag to resize

Context Properties

The InputMapperContext type exposes the following members.

Properties
  NameDescription
Public propertyactionElementMapToReplace
The ActionElementMap to be replaced. This ActionElementMap must exist in the Controller Map being passed in or you will get an error. Leave null if you are not replacing an existing mapping.
Public propertyactionId
The id of the Action to be mapped. This is a required field. This can also be set using the actionName field instead.
Public propertyactionName
The name of the Action to be mapped. This is just a convenience property to allow you to set the actionId property by using the string name instead of the id. Setting this property will set the actionId property with the corresponding id.
Public propertyactionRange
The range of the Action's value to map input to. For example, for an axis-type Action, should user input be mapped to the full range of the Action or just one side of the Action (+/-)? NOTE: This is not the same as or interchangeable with axisRange. Do not pass the value from axisRange into this function or you will get unexpected results.
Public propertycontrollerMap
The Controller Map that will be populated with the new mapping. This is a required field.
Top
See Also