C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

MarkingEffect::Nonempty

Defined in:  C4Effects.h
Returns a boolean value indicating whether a surface marking contains any triangles.
Prototype

bool Nonempty(voidconst;

Description
The Nonempty function returns a boolean value indicating whether a surface marking contains any triangles. If the return value is true, then at least one triangle was generated for the surface marking. Otherwise, the surface marking is empty, and it should be deleted. This function is intended to be used when a surface marking is constructed directly—it is not necessary when the MarkingEffect::New function is called.