Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.
ID OUTLINEMAT_COLOR_TEXTURE_OPMODE
Element Information
Sample Code
Example code for the id OUTLINEMAT_COLOR_TEXTURE_OPMODE in Moutliner
Note that this is not the actual code from the Moutliner file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Moutliner.res)
LONG OUTLINEMAT_COLOR_TEXTURE_OPMODE { CYCLE { OUTLINEMAT_BLENDMODE_NORMAL; OUTLINEMAT_BLENDMODE_MULTIPLY; OUTLINEMAT_BLENDMODE_SCREEN; OUTLINEMAT_BLENDMODE_DARKEN; OUTLINEMAT_BLENDMODE_LIGHT; OUTLINEMAT_BLENDMODE_DIFFERENCE; OUTLINEMAT_BLENDMODE_NEGATIVE; OUTLINEMAT_BLENDMODE_EXCLUSION; OUTLINEMAT_BLENDMODE_OVERLAY; OUTLINEMAT_BLENDMODE_HARDLIGHT; OUTLINEMAT_BLENDMODE_SOFTLIGHT; OUTLINEMAT_BLENDMODE_DODGE; OUTLINEMAT_BLENDMODE_BURN; OUTLINEMAT_BLENDMODE_REFLECT; OUTLINEMAT_BLENDMODE_GLOW; OUTLINEMAT_BLENDMODE_FREEZE; OUTLINEMAT_BLENDMODE_HEAT; OUTLINEMAT_BLENDMODE_ADD; OUTLINEMAT_BLENDMODE_SUB; OUTLINEMAT_BLENDMODE_STAMP; OUTLINEMAT_BLENDMODE_XOR; OUTLINEMAT_BLENDMODE_HUE; OUTLINEMAT_BLENDMODE_SATURATION; OUTLINEMAT_BLENDMODE_LUMINANCE; OUTLINEMAT_BLENDMODE_RED; OUTLINEMAT_BLENDMODE_GREEN; OUTLINEMAT_BLENDMODE_BLUE; } }
Header File Code (Moutliner.h)
#ifndef MOUTLINER_H__ #define MOUTLINER_H__ enum { OUTLINEMAT_COLOR_TEXTURE_OPMODE = 1000, //First ID should start at 1000 OUTLINEMAT_BLENDMODE_NORMAL = 1, OUTLINEMAT_BLENDMODE_MULTIPLY = 2, OUTLINEMAT_BLENDMODE_SCREEN = 3, OUTLINEMAT_BLENDMODE_DARKEN = 4, OUTLINEMAT_BLENDMODE_LIGHT = 5, OUTLINEMAT_BLENDMODE_DIFFERENCE = 6, OUTLINEMAT_BLENDMODE_NEGATIVE = 7, OUTLINEMAT_BLENDMODE_EXCLUSION = 8, OUTLINEMAT_BLENDMODE_OVERLAY = 9, OUTLINEMAT_BLENDMODE_HARDLIGHT = 10, OUTLINEMAT_BLENDMODE_SOFTLIGHT = 11, OUTLINEMAT_BLENDMODE_DODGE = 12, OUTLINEMAT_BLENDMODE_BURN = 13, OUTLINEMAT_BLENDMODE_REFLECT = 14, OUTLINEMAT_BLENDMODE_GLOW = 15, OUTLINEMAT_BLENDMODE_FREEZE = 16, OUTLINEMAT_BLENDMODE_HEAT = 17, OUTLINEMAT_BLENDMODE_ADD = 18, OUTLINEMAT_BLENDMODE_SUB = 19, OUTLINEMAT_BLENDMODE_STAMP = 20, OUTLINEMAT_BLENDMODE_XOR = 21, OUTLINEMAT_BLENDMODE_HUE = 22, OUTLINEMAT_BLENDMODE_SATURATION = 23, OUTLINEMAT_BLENDMODE_LUMINANCE = 24, OUTLINEMAT_BLENDMODE_RED = 25, OUTLINEMAT_BLENDMODE_GREEN = 26, OUTLINEMAT_BLENDMODE_BLUE = 27, }; #endif // MOUTLINER_H__
String File Code (Moutliner.str)
// C4D-StringResource // Identifier Text STRINGTABLE { OUTLINEMAT_COLOR_TEXTURE_OPMODE "Blend"; OUTLINEMAT_BLENDMODE_NORMAL "Normal"; OUTLINEMAT_BLENDMODE_MULTIPLY "Multiply"; OUTLINEMAT_BLENDMODE_SCREEN "Screen"; OUTLINEMAT_BLENDMODE_DARKEN "Darken"; OUTLINEMAT_BLENDMODE_LIGHT "Lighten"; OUTLINEMAT_BLENDMODE_DIFFERENCE "Difference"; OUTLINEMAT_BLENDMODE_NEGATIVE "Negative"; OUTLINEMAT_BLENDMODE_EXCLUSION "Exclusion"; OUTLINEMAT_BLENDMODE_OVERLAY "Overlay"; OUTLINEMAT_BLENDMODE_HARDLIGHT "HardLight"; OUTLINEMAT_BLENDMODE_SOFTLIGHT "SoftLight"; OUTLINEMAT_BLENDMODE_DODGE "Dodge"; OUTLINEMAT_BLENDMODE_BURN "Burn"; OUTLINEMAT_BLENDMODE_REFLECT "Reflect"; OUTLINEMAT_BLENDMODE_GLOW "Glow"; OUTLINEMAT_BLENDMODE_FREEZE "Freeze"; OUTLINEMAT_BLENDMODE_HEAT "Heat"; OUTLINEMAT_BLENDMODE_ADD "Add"; OUTLINEMAT_BLENDMODE_SUB "Subtract"; OUTLINEMAT_BLENDMODE_STAMP "Stamp"; OUTLINEMAT_BLENDMODE_XOR "Xor"; OUTLINEMAT_BLENDMODE_HUE "Hue"; OUTLINEMAT_BLENDMODE_SATURATION "Saturation"; OUTLINEMAT_BLENDMODE_LUMINANCE "Luminance"; OUTLINEMAT_BLENDMODE_RED "Red"; OUTLINEMAT_BLENDMODE_GREEN "Green"; OUTLINEMAT_BLENDMODE_BLUE "Blue"; }