Torque3D Documentation / _generateds / TSShape::Trigger

TSShape::Trigger

Engine/source/ts/tsShape.h

When time on a sequence advances past a certain point, a trigger takes effect and changes one of the state variables to on or off.

More...

Public Types

enum
TriggerStates {
  StateOn = BIT(31)
  InvertOnReverse = BIT(30)
  StateMask = BIT(30)-1
}

Public Attributes

One of TriggerStates.

Detailed Description

When time on a sequence advances past a certain point, a trigger takes effect and changes one of the state variables to on or off.

(State variables found in TSShapeInstance::mTriggerStates)

Public Types

TriggerStates

Enumerator

StateOn = BIT(31)
InvertOnReverse = BIT(30)
StateMask = BIT(30)-1

Public Attributes

F32 pos 
U32 state 

One of TriggerStates.