Effect Manager
C4Effects.h

struct MarkingData

The MarkingData structure defines the parameters of a surface marking effect.
Constructor

MarkingData(unsigned long flags = 0);

Parameters
flags The marking effect flags.
Data Members
unsigned long   markingFlags; The marking effect flags. This is set to zero by the default constructor.
Point3D         center; The world-space center of the surface marking.
Vector3D        normal; The world-space normal direction of the surface marking.
Vector3D        tangent; The world-space tangent direction of the surface marking. This determines texture alignment.
float           radius; The radius of the surface marking.
const char      *textureName; A pointer to the name of the texture map used by the surface marking. This occupies the same space as materialObject and should not be specified if the effect list index is kEffectListLight.
MaterialObject  *materialObject; A pointer to the material object used by the surface marking. This occupies the same space as textureName and should only be specified if the effect list index is kEffectListLight.
ColorRGBA       color; The marking color. Ignored if a material object containing a DiffuseAttribute is specified.
long            lifeTime; The time for which the surface marking is rendered. If this is set to -1, then the marking is rendered for exactly one frame.
Description
The MarkingData structure holds information that is passed to the constructor for the MarkingEffect class. The markingFlags member can currently be zero or the following value.
kMarkingLight The marking receives full lighting.
See Also
MarkingEffect