MatPreviewPrepareScene Struct Reference

#include <customgui_matpreview.h>

详细描述

Message struct for MATPREVIEW_PREPARE_SCENE .

Public Attributes

Bool   bScenePrepared
BaseLink pLink
BaseDocument pDoc
矩阵   matrDefault
MaterialPreviewData pPreviewData
BaseDocument pOriginalDoc

Member Data Documentation

◆  bScenePrepared

Bool bScenePrepared

Set to true if you modified the scene; the preview will do this for you otherwise.

◆  pLink

BaseLink * pLink

Point this link the cloned material object you insert into the scene.May be nullptr . The caller owns the pointed link.

◆  pDoc

BaseDocument * pDoc

The preview document (a clone of the scene cache entry). The caller owns the pointed document.

◆  matrDefault

矩阵 matrDefault

The default object matrix.

◆  pPreviewData

MaterialPreviewData * pPreviewData

The preview data. May be nullptr . The caller owns the pointed data.

◆  pOriginalDoc

BaseDocument * pOriginalDoc

The original document. Only access it if there is no other way. The caller owns the pointed document.