Torque2D Reference
Loading...
Searching...
No Matches
ActionMap::Node Struct Reference

#include <actionMap.h>

Public Types

enum  Flags {
  Ranged = BIT(0) , HasScale = BIT(1) , HasDeadZone = BIT(2) , Inverted = BIT(3) ,
  NonLinear = BIT(4) , BindCmd = BIT(5)
}

Public Attributes

U32 modifiers
U32 action
U32 flags
F32 deadZoneBegin
F32 deadZoneEnd
F32 scaleFactor
SimObjectobject
 Object to call consoleFunction on.
StringTableEntry consoleFunction
 Console function to call with new values.
char * makeConsoleCommand
 Console command to execute when we make this command.
char * breakConsoleCommand
 Console command to execute when we break this command.

Member Enumeration Documentation

◆ Flags

enum Flags
Enumerator
Ranged 

Ranged input.

HasScale 

Scaled input.

HasDeadZone 

Dead zone is present.

Inverted 

Input is inverted.

NonLinear 
BindCmd 

Bind a console command to this.

Member Data Documentation

◆ action

U32 action

◆ breakConsoleCommand

char* breakConsoleCommand

Console command to execute when we break this command.

◆ consoleFunction

StringTableEntry consoleFunction

Console function to call with new values.

◆ deadZoneBegin

F32 deadZoneBegin
See also
Node::Flags

◆ deadZoneEnd

F32 deadZoneEnd

◆ flags

U32 flags

◆ makeConsoleCommand

char* makeConsoleCommand

Console command to execute when we make this command.

◆ modifiers

U32 modifiers

◆ object

SimObject* object

Object to call consoleFunction on.

◆ scaleFactor

F32 scaleFactor

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