#include <customgui_matpreview.h>
Message struct for MATPREVIEW_GENERATE_IMAGE.
Public Attributes | |
BaseDocument * | pDoc |
BaseBitmap * | pDest |
BaseThread * | pThread |
Float | rTime |
Bool | bEditorPreview |
Float | rWorldSize |
Bool | bLowQuality |
RENDERRESULT | lResult |
Bool | bIsAnimating |
BaseDocument* pDoc |
The document. May be nullptr. The caller owns the pointed document.
BaseBitmap* pDest |
An initialized bitmap to render to. The caller owns the pointed bitmap.
BaseThread* pThread |
The rendering thread. May be nullptr. The caller owns the pointed thread.
Float rTime |
The current preview time.
Bool bEditorPreview |
Never used. Always false.
Float rWorldSize |
Scale the scene (usually the object named MATPREVIEW_NULL_SIZE_NAME) by rWorldSize. Scale it by 1.0 after render is complete.
Bool bLowQuality |
true if you may render in low quality (e.g. during rotating the object).
RENDERRESULT lResult |
Return one of the possible return values from RenderDocument(): RENDERRESULT.
Bool bIsAnimating |
Indicates whether the user has chosen Animate in the preview.