PlayerGetAxis2DRaw(String, String) 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+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntaxpublic Vector2 GetAxis2DRaw(
string xAxisActionName,
string yAxisActionName
)
Parameters
- xAxisActionName String
- Name of the X axis Action
- yAxisActionName String
- Name of the Y axis Action
Return Value
Vector2The raw 2D axis value.
See Also