Share

AcGiFaceData::trueColors

C++

virtual ACDBCORE2D_PORT AcCmEntityColor* trueColors() const;

Description

This function returns a pointer to an array of AcCmEntityColor objects: one for each face in the mesh or shell with which the object is used. If the color's data array has not been set, it returns null.

The returned pointer points to the actual array in use by the graphics system. It does not make a copy. Do not free or delete this array unless the array's memory was dynamically allocated and the worldDraw() or viewportDraw() function in which it is being used is about to return.

Links

AcGiFaceData

Was this information helpful?