Namespaces | |
| IMAGESIZE_PIX | |
Enumerations | |
| enum class | STAGE { CALCULATING , ERROR , FINISHED , THREADCANCELLED } |
| enum class | IMAGESIZE { DEFAULT , SMALL , MEDIUM , BIG , LARGE } |
| enum class | SCENETYPE { MatPreviewDefault , MatPreviewFlat2D , MatPreviewCube , MatPreviewPlane , MatPreviewCylinder , MatPreviewTorus , MatPreviewPlaneBack , MatPreviewSphere , MatPreview2Torus , MatPreviewRoundedCube , MatPreviewKnot , MatPreviewMultipleObjects , MatPreviewCandle , MatPreviewCloth , MatPreviewGem , MatPreviewObjectAnim , MatPreviewObject , MatPreviewUser } |
Functions | |
| enum maxon::nodes::PREVIEW::STAGE | MAXON_ENUM_LIST (STAGE) |
| enum maxon::nodes::PREVIEW::IMAGESIZE | MAXON_ENUM_LIST (IMAGESIZE) |
| enum maxon::nodes::PREVIEW::SCENETYPE | MAXON_ENUM_LIST (SCENETYPE) |
| MAXON_ATTRIBUTE (IMAGESIZE, ImageSize, "imagesize") | |
| MAXON_ATTRIBUTE (SCENETYPE, SceneType, "scenetype") | |
| MAXON_ATTRIBUTE (Int, Timestamp, "timestamp") | |
|
strong |
STAGE defines the state of a preview image result.
|
strong |
|
strong |
SCENETYPE defines the choice for the 3D scene to be used in a node preview. This property only applies to nodes of an Id that as been assigned to maxon::nodes::NODESPACE::MATERIALPREVIEWIDS .
The files used by the Standard Space are located in the resource folder '$C4D/resource/modules/xtensions/preview_scenes/'. Note that this list should be kept in sync with MatPreviewType defined in customgui_matpreview.h .
| enum maxon::nodes::PREVIEW::STAGE maxon::nodes::PREVIEW::MAXON_ENUM_LIST | ( | STAGE | ) |
| enum maxon::nodes::PREVIEW::IMAGESIZE maxon::nodes::PREVIEW::MAXON_ENUM_LIST | ( | IMAGESIZE | ) |
| enum maxon::nodes::PREVIEW::SCENETYPE maxon::nodes::PREVIEW::MAXON_ENUM_LIST | ( | SCENETYPE | ) |
| maxon::nodes::PREVIEW::MAXON_ATTRIBUTE | ( | IMAGESIZE | , |
| ImageSize | , | ||
| "imagesize" | |||
| ) |
Node preview type and size.
| maxon::nodes::PREVIEW::MAXON_ATTRIBUTE | ( | SCENETYPE | , |
| SceneType | , | ||
| "scenetype" | |||
| ) |
| maxon::nodes::PREVIEW::MAXON_ATTRIBUTE | ( | Int | , |
| Timestamp | , | ||
| "timestamp" | |||
| ) |
The timestamp allows manual control over triggering a preview request on value change.
The preview thumbnails of a particular node can be forced to update as following: