Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.GamepadController.AxisState Class Reference

Axis state. More...

Inheritance diagram for Dragengine.Gui.GamepadController.AxisState:

Public Member Functions

void clear ()
 Clear value to 0. More...
 
Vector2 combineFocus (Vector2 result)
 Combine focus. More...
 
Vector2 combineMouse (Vector2 result)
 Combine mouse movement. More...
 
bool matches (InputEventSource system, int device, int axis)
 Axis state matches event parameters. More...
 
AxisState new (InputEventSource system, int device, int axis, AxisTarget target)
 Create axis state. More...
 
void update (GamepadController controller, float value)
 Update axis state using value sending events to controller if required. More...
 

Public Attributes

int pAxis
 
int pDevice
 
InputEventSource pSystem
 
AxisTarget pTarget
 
float pValue
 

Detailed Description

Axis state.

Member Function Documentation

◆ clear()

void Dragengine.Gui.GamepadController.AxisState.clear ( )

Clear value to 0.

◆ combineFocus()

Vector2 Dragengine.Gui.GamepadController.AxisState.combineFocus ( Vector2  result)

Combine focus.

◆ combineMouse()

Vector2 Dragengine.Gui.GamepadController.AxisState.combineMouse ( Vector2  result)

Combine mouse movement.

◆ matches()

bool Dragengine.Gui.GamepadController.AxisState.matches ( InputEventSource  system,
int  device,
int  axis 
)

Axis state matches event parameters.

◆ new()

AxisState Dragengine.Gui.GamepadController.AxisState.new ( InputEventSource  system,
int  device,
int  axis,
AxisTarget  target 
)

Create axis state.

◆ update()

void Dragengine.Gui.GamepadController.AxisState.update ( GamepadController  controller,
float  value 
)

Update axis state using value sending events to controller if required.

Member Data Documentation

◆ pAxis

int Dragengine.Gui.GamepadController.AxisState.pAxis

◆ pDevice

int Dragengine.Gui.GamepadController.AxisState.pDevice

◆ pSystem

InputEventSource Dragengine.Gui.GamepadController.AxisState.pSystem

◆ pTarget

AxisTarget Dragengine.Gui.GamepadController.AxisState.pTarget

◆ pValue

float Dragengine.Gui.GamepadController.AxisState.pValue

The documentation for this class was generated from the following file: