![]() |
• Effect Manager | ||||||||||||||
|
API Links
Developer Links
|
class MarkingEffectDefined in:
The C4Effects.hMarkingEffect class represents a surface marking node in a world.
Definition
Member Functions
Constructor
Parameters
Description
The MarkingEffect class represents a surface marking node that is associated with a single geometry node.Surface markings are normally generated for all of the geometries intersecting a particular location by calling the MarkingEffect::New function, but it is also possible to construct a MarkingEffect directly. If the MarkingEffect constructor is explicitly called (by using the new operator), then the calling code should subsequently call the MarkingEffect::Nonempty function to determine whether any triangles were generated. If the marking effect is not empty, then it should be added to the scene as a subnode of the geometry node specified by the geometry parameter by calling the Node::AddNewSubnode function. If the MarkingEffect::Nonempty function returns false, then the marking effect should simply be deleted.
Base Classes
See Also
|