Click or drag to resize

PlayerGetAxis2DRawPrev Method (Int32, Int32)

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(
	int xAxisActionId,
	int yAxisActionId
)

Parameters

xAxisActionId
Type: SystemInt32
Id of the X axis Action
yAxisActionId
Type: SystemInt32
Id of the Y axis Action

Return Value

Type: Vector2
The raw 2D axis value.
See Also