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 SLA_FUSION_MODE
Element Information
Sample Code
Example code for the id SLA_FUSION_MODE in XSLAFusion
Note that this is not the actual code from the XSLAFusion file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (XSLAFusion.res)
LONG SLA_FUSION_MODE { CYCLE { SLA_FUSION_MODE_NORMAL; SLA_FUSION_MODE_SEP_1; SLA_FUSION_MODE_MULTIPLY; SLA_FUSION_MODE_SCREEN; SLA_FUSION_MODE_OVERLAY; SLA_FUSION_MODE_HARD_LIGHT; SLA_FUSION_MODE_SOFT_LIGHT; SLA_FUSION_MODE_SEP_2; SLA_FUSION_MODE_DODGE; SLA_FUSION_MODE_BURN; SLA_FUSION_MODE_SEP_3; SLA_FUSION_MODE_DARKEN; SLA_FUSION_MODE_LIGHTEN; SLA_FUSION_MODE_ADD; SLA_FUSION_MODE_SUBTRACT; SLA_FUSION_MODE_DIFFERENCE; SLA_FUSION_MODE_EXCLUSION; SLA_FUSION_MODE_SEP_4; SLA_FUSION_MODE_HUE; SLA_FUSION_MODE_SAT; SLA_FUSION_MODE_COLOR; SLA_FUSION_MODE_LUMINANCE; SLA_FUSION_MODE_SEP_5; SLA_FUSION_MODE_LEVR; } }
Header File Code (XSLAFusion.h)
#ifndef XSLAFUSION_H__ #define XSLAFUSION_H__ enum { SLA_FUSION_MODE = 1000, //First ID should start at 1000 SLA_FUSION_MODE_NORMAL = 1, SLA_FUSION_MODE_SEP_1 = 2, SLA_FUSION_MODE_MULTIPLY = 3, SLA_FUSION_MODE_SCREEN = 4, SLA_FUSION_MODE_OVERLAY = 5, SLA_FUSION_MODE_HARD_LIGHT = 6, SLA_FUSION_MODE_SOFT_LIGHT = 7, SLA_FUSION_MODE_SEP_2 = 8, SLA_FUSION_MODE_DODGE = 9, SLA_FUSION_MODE_BURN = 10, SLA_FUSION_MODE_SEP_3 = 11, SLA_FUSION_MODE_DARKEN = 12, SLA_FUSION_MODE_LIGHTEN = 13, SLA_FUSION_MODE_ADD = 14, SLA_FUSION_MODE_SUBTRACT = 15, SLA_FUSION_MODE_DIFFERENCE = 16, SLA_FUSION_MODE_EXCLUSION = 17, SLA_FUSION_MODE_SEP_4 = 18, SLA_FUSION_MODE_HUE = 19, SLA_FUSION_MODE_SAT = 20, SLA_FUSION_MODE_COLOR = 21, SLA_FUSION_MODE_LUMINANCE = 22, SLA_FUSION_MODE_SEP_5 = 23, SLA_FUSION_MODE_LEVR = 24, }; #endif // XSLAFUSION_H__
String File Code (XSLAFusion.str)
// C4D-StringResource // Identifier Text STRINGTABLE { SLA_FUSION_MODE "Mode"; SLA_FUSION_MODE_NORMAL "Normal"; SLA_FUSION_MODE_SEP_1 ""; SLA_FUSION_MODE_MULTIPLY "Multiply"; SLA_FUSION_MODE_SCREEN "Screen"; SLA_FUSION_MODE_OVERLAY "Overlay"; SLA_FUSION_MODE_HARD_LIGHT "HardLight"; SLA_FUSION_MODE_SOFT_LIGHT "SoftLight"; SLA_FUSION_MODE_SEP_2 ""; SLA_FUSION_MODE_DODGE "Dodge"; SLA_FUSION_MODE_BURN "Burn"; SLA_FUSION_MODE_SEP_3 ""; SLA_FUSION_MODE_DARKEN "Darken"; SLA_FUSION_MODE_LIGHTEN "Lighten"; SLA_FUSION_MODE_ADD "Add"; SLA_FUSION_MODE_SUBTRACT "Subtract"; SLA_FUSION_MODE_DIFFERENCE "Difference"; SLA_FUSION_MODE_EXCLUSION "Exclusion"; SLA_FUSION_MODE_SEP_4 ""; SLA_FUSION_MODE_HUE "Hue"; SLA_FUSION_MODE_SAT "Saturation"; SLA_FUSION_MODE_COLOR "Color"; SLA_FUSION_MODE_LUMINANCE "Luminance"; SLA_FUSION_MODE_SEP_5 ""; SLA_FUSION_MODE_LEVR "Levr"; }