C4 Engine
C4 Engine API Documentation

MarkingEffect::Empty

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

bool Empty(voidconst;

Description
The Empty function returns a boolean value indicating whether a surface marking contains any triangles. If the return value is false, 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::NewMarkingEffect function is called.