Torque3D Documentation / _generateds / afxXM_WaveBaseData

afxXM_WaveBaseData

Engine/source/afx/xm/afxXM_WaveBase.h

More...

Public Types

enum
WaveFormType {
  WAVEFORM_NONE = 0
  WAVEFORM_SINE 
  WAVEFORM_SQUARE 
  WAVEFORM_TRIANGLE 
  WAVEFORM_SAWTOOTH 
  WAVEFORM_NOISE 
  WAVEFORM_ONE 
  WAVEFORM_BITS = 3
}
enum
WaveOpType {
  OP_ADD = 0
  OP_MULTIPLY 
  OP_REPLACE 
  OP_BITS = 2
}
enum
WaveParamType {
  PARAM_NONE = 0
  PARAM_POS 
  PARAM_POS_X 
  PARAM_POS_Y 
  PARAM_POS_Z 
  PARAM_ORI 
  PARAM_POS2 
  PARAM_POS2_X 
  PARAM_POS2_Y 
  PARAM_POS2_Z 
  PARAM_SCALE 
  PARAM_SCALE_X 
  PARAM_SCALE_Y 
  PARAM_SCALE_Z 
  PARAM_COLOR 
  PARAM_COLOR_R 
  PARAM_COLOR_G 
  PARAM_COLOR_B 
  PARAM_COLOR_A 
  PARAM_VIS 
  PARAM_BITS = 5
}

Private Types

Public Friends

Public Static Functions

getWaveform(U32 waveform_type)
initParamInfo(U32 parameter, U32 & parambit, S32 & component)

Detailed Description

Public Types

WaveFormType

Enumerator

WAVEFORM_NONE = 0
WAVEFORM_SINE
WAVEFORM_SQUARE
WAVEFORM_TRIANGLE
WAVEFORM_SAWTOOTH
WAVEFORM_NOISE
WAVEFORM_ONE
WAVEFORM_BITS = 3
WaveOpType

Enumerator

OP_ADD = 0
OP_MULTIPLY
OP_REPLACE
OP_BITS = 2
WaveParamType

Enumerator

PARAM_NONE = 0
PARAM_POS
PARAM_POS_X
PARAM_POS_Y
PARAM_POS_Z
PARAM_ORI
PARAM_POS2
PARAM_POS2_X
PARAM_POS2_Y
PARAM_POS2_Z
PARAM_SCALE
PARAM_SCALE_X
PARAM_SCALE_Y
PARAM_SCALE_Z
PARAM_COLOR
PARAM_COLOR_R
PARAM_COLOR_G
PARAM_COLOR_B
PARAM_COLOR_A
PARAM_VIS
PARAM_BITS = 5

Private Types

typedef afxXM_WeightedBaseData Parent 

Public Friends

Public Attributes

F32 accel 
Point3F axis 
F32 duty_cycle 
F32 duty_shift 
bool local_axis 
F32 off_duty_t 
U32 op 
U32 parameter 
F32 phase_shift 
F32 rest_dur 
F32 rest_dur_vari 
F32 speed 
F32 speed_vari 
U32 waveform_type 
ByteRange waves_per_pulse 
ByteRange waves_per_rest 

Public Functions

afxXM_WaveBaseData()

afxXM_WaveBaseData(const afxXM_WaveBaseData & , bool )

DECLARE_CATEGORY("AFX" )

DECLARE_CONOBJECT(afxXM_WaveBaseData )

packData(BitStream * stream)

Reimplemented from: afxXM_WeightedBaseData

Reimplemented by: afxXM_WaveColorData, afxXM_WaveScalarData

unpackData(BitStream * stream)

Reimplemented from: afxXM_WeightedBaseData

Reimplemented by: afxXM_WaveColorData, afxXM_WaveScalarData

Public Static Functions

getWaveform(U32 waveform_type)

initParamInfo(U32 parameter, U32 & parambit, S32 & component)

initPersistFields()