EffectorDataStruct Struct Reference

#include <c4d_baseeffectordata.h>

详细描述

Data structure for an effector's internal data, filled from its container.
obaseeffector.res and obaseeffector.h for the IDs.
To get it filled make sure that the IDs for strength etc. match those in obaseeffector.h .

公共成员函数

  EffectorDataStruct ()
  ~EffectorDataStruct (void)

Public Attributes

Float   falloff_time
向量   pos
向量   scale
向量   rot
向量   col
Float   strength
Float   maxstrength
Float   minstrength
Int32   trans_mode
Int32   col_mode
Int32   blend_mode
Float   strengths [21]

构造函数 & 析构函数文档编制

◆  EffectorDataStruct()

EffectorDataStruct ( )

Default constructor.

◆  ~EffectorDataStruct()

~ EffectorDataStruct ( void  )

Destructor.

Member Data Documentation

◆  falloff_time

Float falloff_time

Falloff time.

◆  pos

向量 pos

Position.

◆  scale

向量 scale

Scale.

◆  rot

向量 rot

Rotation.

◆  col

向量 col

Color.

◆  strength

Float strength

Effector strength.

◆  maxstrength

Float maxstrength

Effector maximum strength.

◆  minstrength

Float minstrength

Effector minimum strength.

◆  trans_mode

Int32 trans_mode

Transform mode. (See obaseeffector.res )

◆  col_mode

Int32 col_mode

Color mode. (See obaseeffector.res )

◆  blend_mode

Int32 blend_mode

Blending mode (See obaseeffector.res )

◆  strengths

Float strengths[21]

Strength value are set by the effector in EffectorData::CalcPointValue .

Amount of strengths for each value, of in order, position, scale, rotation, color (and anything else to affect).