Click or drag to resize

PlayerGetAxis2DRawPrev Method (String, String)

Gets the raw axis value of two Actions during the previous frame. 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)
Syntax
C#
public Vector2 GetAxis2DRawPrev(
	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: Vector2
The raw 2D axis value.
See Also