ControlDisplayStruct Struct Reference

#include <c4d_tooldata.h>

详细描述

DisplayControl data.

公共成员函数

  ControlDisplayStruct ()

Public Attributes

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

构造函数 & 析构函数文档编制

◆  ControlDisplayStruct()

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

false , the caller frees vertex_color 。若 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.

由于
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.