#include <customgui_matpreview.h>
Message struct for MATPREVIEW_GET_OBJECT_INFO .
Public Attributes |
|
Bool | bHandlePreview |
Bool | bNeedsOwnScene |
Bool | bNoStandardScene |
Int32 | lFlags |
Bool bHandlePreview |
Set to true if the material has its own preview handler.
Bool bNeedsOwnScene |
Set to true if the material modifies the default scene.
Bool bNoStandardScene |
Set to
true
if no scene should appear in the popup menu and a custom preview scene will be created.
bNeedsOwnScene
has to be
true
if the standard scene is not used.
An empty scene is then passed for the message
MATPREVIEW_MODIFY_CACHE_SCENE
to build one.
Int32 lFlags |
A combination of the following flags: (Only evaluated if bHandlePreview 被设为 true .) MATPREVIEW_FLAG .