ControlDisplayStruct Struct Reference

#include <c4d_tooldata.h>

Detailed Description

DisplayControl data.

Public Member Functions

 ControlDisplayStruct ()
 

Public Attributes

DISPLAYMODE displaymode
 
Bool backface_culling
 
Bool editmode
 
maxon::Color32vertex_color
 
Bool dontfreevertexcolor
 
Bool vertex_color_shading
 
Bool perPolygonVertexColor
 
VERTEXCOLOR_DISPLAYMODE vertexColorDisplayMode
 

Constructor & Destructor Documentation

◆ ControlDisplayStruct()

Constructor.

Member Data Documentation

◆ displaymode

DISPLAYMODE displaymode

The display mode: DISPLAYMODE.

◆ backface_culling

Bool backface_culling

Backface culling.

◆ editmode

Bool editmode

Edit mode.

◆ vertex_color

maxon::Color32* vertex_color

An array of vertex colors for each point.

◆ dontfreevertexcolor

Bool dontfreevertexcolor

If false, the caller frees vertex_color. If true, the called function owns the memory, the caller does not free vertex_color.

◆ vertex_color_shading

Bool vertex_color_shading

Vertex color shading.

◆ perPolygonVertexColor

Bool perPolygonVertexColor

Each polygon vertex own a specific color.

Since
R18

◆ vertexColorDisplayMode

VERTEXCOLOR_DISPLAYMODE vertexColorDisplayMode

Is set to ALPHA only if paint tool is active and mode is vertexColor(Alpha), is set to COLOR if the tool is active and the mode is vertexColor(RGB) or vertexColor(RGB + Alpha), and set to NONE if the tool is inactive.