#include <customgui_matpreview.h>
Message struct for MATPREVIEW_PREPARE_SCENE.
Public Attributes | |
| Bool | bScenePrepared | 
| BaseLink * | pLink | 
| BaseDocument * | pDoc | 
| Matrix | matrDefault | 
| MaterialPreviewData * | pPreviewData | 
| BaseDocument * | pOriginalDoc | 
| Bool bScenePrepared | 
Set to true if you modified the scene; the preview will do this for you otherwise.
| BaseLink* pLink | 
Point this link the cloned material object you insert into the scene.May be nullptr. The caller owns the pointed link.
| BaseDocument* pDoc | 
The preview document (a clone of the scene cache entry). The caller owns the pointed document.
| Matrix matrDefault | 
The default object matrix.
| MaterialPreviewData* pPreviewData | 
The preview data. May be nullptr. The caller owns the pointed data.
| BaseDocument* pOriginalDoc | 
The original document. Only access it if there is no other way. The caller owns the pointed document.