Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.GamepadTriggerTracker.TriggerState Class Reference

Trigger state. More...

Inheritance diagram for Dragengine.Gui.GamepadTriggerTracker.TriggerState:

Public Member Functions

void clear ()
 Clear value to 0. More...
 
bool matches (InputEventSource system, int device, int axis)
 Trigger state matches event parameters. More...
 
TriggerState new (InputEventSource system, int device, int axis, int trigger)
 Create trigger state. More...
 
void update (GamepadTriggerTracker tracker, float value)
 Update state trigger events if required. More...
 

Public Attributes

int pAxis
 
int pDevice
 
InputEventSource pSystem
 
int pTrigger
 
float pValue
 

Detailed Description

Trigger state.

Member Function Documentation

◆ clear()

void Dragengine.Gui.GamepadTriggerTracker.TriggerState.clear ( )

Clear value to 0.

◆ matches()

bool Dragengine.Gui.GamepadTriggerTracker.TriggerState.matches ( InputEventSource  system,
int  device,
int  axis 
)

Trigger state matches event parameters.

◆ new()

TriggerState Dragengine.Gui.GamepadTriggerTracker.TriggerState.new ( InputEventSource  system,
int  device,
int  axis,
int  trigger 
)

Create trigger state.

◆ update()

void Dragengine.Gui.GamepadTriggerTracker.TriggerState.update ( GamepadTriggerTracker  tracker,
float  value 
)

Update state trigger events if required.

Member Data Documentation

◆ pAxis

int Dragengine.Gui.GamepadTriggerTracker.TriggerState.pAxis

◆ pDevice

int Dragengine.Gui.GamepadTriggerTracker.TriggerState.pDevice

◆ pSystem

InputEventSource Dragengine.Gui.GamepadTriggerTracker.TriggerState.pSystem

◆ pTrigger

int Dragengine.Gui.GamepadTriggerTracker.TriggerState.pTrigger

◆ pValue

float Dragengine.Gui.GamepadTriggerTracker.TriggerState.pValue

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