PlayerGetAxis2DRaw(Int32, Int32) Method |
Gets the raw axis value of two Actions.
The raw value excludes any digital axis simulation modification by the
InputBehavior assigned to this Action.
This raw value is modified by dead zone and axis calibration settings in the controller. To get truly raw values, you must get the raw value directly from the Controller element.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Vector2 GetAxis2DRaw(
int xAxisActionId,
int yAxisActionId
)
Parameters
- xAxisActionId Int32
- Id of the X axis Action
- yAxisActionId Int32
- Id of the Y axis Action
Return Value
Vector2The raw 2D axis value.
See Also