OverrideMaterial Struct Reference

#include <c4d_baselist.h>

Detailed Description

Message struct for the MSG_MATERIAL_OVERRIDE message.

Since
R17.032

Public Member Functions

 OverrideMaterial (BaseDocument *doc=nullptr, BaseContainer *renderDataBc=nullptr)
 

Public Attributes

BaseDocument_doc
 
BaseContainer_renderDataBc
 
BaseList2D_resultMaterial
 

Constructor & Destructor Documentation

◆ OverrideMaterial()

OverrideMaterial ( BaseDocument doc = nullptr,
BaseContainer renderDataBc = nullptr 
)

Default constructor.

Member Data Documentation

◆ _doc

BaseDocument* _doc

The document to render.

◆ _renderDataBc

BaseContainer* _renderDataBc

The render data container.

◆ _resultMaterial

BaseList2D* _resultMaterial

The result material created in the message. Assign nullptr if the material has to be replaced as by default by Cinema 4D.