MSG_MULTI Enumeration » MSG

详细描述

Macros

#define  MSG_MULTI_RENDERNOTIFICATION
#define  MSG_MULTI_MARKMATERIALS
#define  MSG_MULTI_DOCUMENTCLONED
#define  MSG_MULTI_DOCUMENTIMPORTED
#define  MSG_MULTI_SETNEWMARKERS
#define  MSG_MULTI_CLEARSUGGESTEDFOLDER

Macro Definition Documentation

◆  MSG_MULTI_RENDERNOTIFICATION

#define MSG_MULTI_RENDERNOTIFICATION

A document and all of its elements receive this message before a render starts. The corresponding data is RenderNotificationData .

◆  MSG_MULTI_MARKMATERIALS

#define MSG_MULTI_MARKMATERIALS

data is nullptr this is sent to atoms to let them mark the materials they use.
Otherwise the message is sent to let translate material links, for example when a material is replaced, and then the corresponding data is MarkMaterials .

注意
An example for both cases is included on the MarkMaterials 页面。

◆  MSG_MULTI_DOCUMENTCLONED

#define MSG_MULTI_DOCUMENTCLONED

The document has been cloned.

◆  MSG_MULTI_DOCUMENTIMPORTED

#define MSG_MULTI_DOCUMENTIMPORTED

After a Cinema 4D document has been loaded this message is sent to the document (and all children structures). The corresponding data is DocumentImported .

◆  MSG_MULTI_SETNEWMARKERS

#define MSG_MULTI_SETNEWMARKERS

Private .

◆  MSG_MULTI_CLEARSUGGESTEDFOLDER

#define MSG_MULTI_CLEARSUGGESTEDFOLDER

Objects have to remove absolute paths (only if they support MSG_GETALLASSETS ).
Both MSG_GETALLASSETS and MSG_MULTI_CLEARSUGGESTEDFOLDER are important for "Save Project" to work and to collect all items.

注意
When "Save Project with Assets" is invoked, everything is moved to the new target directory.
In this case all absolute paths must be converted to just filenames because the files are next to the document and the absolute paths are not needed anymore.
另请参阅
MSG_GETALLASSETS MSG_RENAMETEXTURES