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 VP_WATERMARK_IMG_BLENDMODE
Element Information
Sample Code
Example code for the id VP_WATERMARK_IMG_BLENDMODE in vpwatermark
Note that this is not the actual code from the vpwatermark file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (vpwatermark.res)
LONG VP_WATERMARK_IMG_BLENDMODE { CYCLE { VP_IMG_BLENDMODE_NORMAL; VP_IMG_BLENDMODE_LIGHTEN; VP_IMG_BLENDMODE_DARKEN; VP_IMG_BLENDMODE_MULTIPLY; VP_IMG_BLENDMODE_ADD; VP_IMG_BLENDMODE_OVERLAY; VP_IMG_BLENDMODE_COLORDODGE; VP_IMG_BLENDMODE_COLORBURN; VP_IMG_BLENDMODE_LINEARDODGE; VP_IMG_BLENDMODE_LINEARBURN; VP_IMG_BLENDMODE_COLOR; VP_IMG_BLENDMODE_COLOR_INV; } }
Header File Code (vpwatermark.h)
#ifndef VPWATERMARK_H__ #define VPWATERMARK_H__ enum { VP_WATERMARK_IMG_BLENDMODE = 1000, //First ID should start at 1000 VP_IMG_BLENDMODE_NORMAL = 1, VP_IMG_BLENDMODE_LIGHTEN = 2, VP_IMG_BLENDMODE_DARKEN = 3, VP_IMG_BLENDMODE_MULTIPLY = 4, VP_IMG_BLENDMODE_ADD = 5, VP_IMG_BLENDMODE_OVERLAY = 6, VP_IMG_BLENDMODE_COLORDODGE = 7, VP_IMG_BLENDMODE_COLORBURN = 8, VP_IMG_BLENDMODE_LINEARDODGE = 9, VP_IMG_BLENDMODE_LINEARBURN = 10, VP_IMG_BLENDMODE_COLOR = 11, VP_IMG_BLENDMODE_COLOR_INV = 12, }; #endif // VPWATERMARK_H__
String File Code (vpwatermark.str)
// C4D-StringResource // Identifier Text STRINGTABLE { VP_WATERMARK_IMG_BLENDMODE "BlendMode"; VP_IMG_BLENDMODE_NORMAL "Normal"; VP_IMG_BLENDMODE_LIGHTEN "Lighten"; VP_IMG_BLENDMODE_DARKEN "Darken"; VP_IMG_BLENDMODE_MULTIPLY "Multiply"; VP_IMG_BLENDMODE_ADD "Add"; VP_IMG_BLENDMODE_OVERLAY "Overlay"; VP_IMG_BLENDMODE_COLORDODGE "ColorDodge"; VP_IMG_BLENDMODE_COLORBURN "ColorBurn"; VP_IMG_BLENDMODE_LINEARDODGE "LinearDodge"; VP_IMG_BLENDMODE_LINEARBURN "LinearBurn"; VP_IMG_BLENDMODE_COLOR "Color"; VP_IMG_BLENDMODE_COLOR_INV "Color(inverse)"; }