PlayerGetAxis2DRaw Method (String, String) |
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:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Vector2 GetAxis2DRaw(
string xAxisActionName,
string yAxisActionName
)
Parameters
- xAxisActionName
- Type: SystemString
Name of the X axis Action - yAxisActionName
- Type: SystemString
Name of the Y axis Action
Return Value
Type:
Vector2The raw 2D axis value.
See Also