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.

Element Information

Sample Code

Example code for the id FALLOFFENTRY_MODE in Desc_falloffentry

Note that this is not the actual code from the Desc_falloffentry file.

This code is just an example to show you how to add a similar control to your own description.

Resource File Code (Desc_falloffentry.res)


LONG  FALLOFFENTRY_MODE
{
                        
    CYCLE 
    {         FALLOFFENTRY_MODE_NORMAL; 
        FALLOFFENTRY_MODE_SEPARATOR; 
        FALLOFFENTRY_MODE_ADD; 
        FALLOFFENTRY_MODE_LIGHTEN; 
        FALLOFFENTRY_MODE_MULTIPLY; 
        FALLOFFENTRY_MODE_COLORDODGE; 
        FALLOFFENTRY_MODE_LINEARDODGE; 
        FALLOFFENTRY_MODE_SEPARATOR; 
        FALLOFFENTRY_MODE_SUBTRACT; 
        FALLOFFENTRY_MODE_DARKEN; 
        FALLOFFENTRY_MODE_SCREEN; 
        FALLOFFENTRY_MODE_COLORBURN; 
        FALLOFFENTRY_MODE_LINEARBURN; 
        FALLOFFENTRY_MODE_SEPARATOR; 
        FALLOFFENTRY_MODE_OVERLAY; 
        FALLOFFENTRY_MODE_SOFTLIGHT; 
        FALLOFFENTRY_MODE_HARDLIGHT; 
        FALLOFFENTRY_MODE_LINEARLIGHT; 
        FALLOFFENTRY_MODE_VIVIDLIGHT; 
        FALLOFFENTRY_MODE_PINLIGHT; 
        FALLOFFENTRY_MODE_GLOW; 
        FALLOFFENTRY_MODE_SEPARATOR; 
        FALLOFFENTRY_MODE_AVERAGE; 
        FALLOFFENTRY_MODE_DIFFERENCE; 
        FALLOFFENTRY_MODE_NEGATION; 
        FALLOFFENTRY_MODE_EXCLUSION; 
        FALLOFFENTRY_MODE_PHOENIX; 
        FALLOFFENTRY_MODE_REFLECT; 
        FALLOFFENTRY_MODE_SEPARATOR; 
        FALLOFFENTRY_MODE_HARDMIX; 
        FALLOFFENTRY_MODE_LEVR; 
        FALLOFFENTRY_MODE_COLOR; 
        FALLOFFENTRY_MODE_COLOR_INV; 
    }
}
            

Header File Code (Desc_falloffentry.h)

#ifndef DESC_FALLOFFENTRY_H__
#define DESC_FALLOFFENTRY_H__
enum
{
  FALLOFFENTRY_MODE = 1000,  //First ID should start at 1000
    FALLOFFENTRY_MODE_NORMAL = 1,
    FALLOFFENTRY_MODE_SEPARATOR = 2,
    FALLOFFENTRY_MODE_ADD = 3,
    FALLOFFENTRY_MODE_LIGHTEN = 4,
    FALLOFFENTRY_MODE_MULTIPLY = 5,
    FALLOFFENTRY_MODE_COLORDODGE = 6,
    FALLOFFENTRY_MODE_LINEARDODGE = 7,
    FALLOFFENTRY_MODE_SEPARATOR = 8,
    FALLOFFENTRY_MODE_SUBTRACT = 9,
    FALLOFFENTRY_MODE_DARKEN = 10,
    FALLOFFENTRY_MODE_SCREEN = 11,
    FALLOFFENTRY_MODE_COLORBURN = 12,
    FALLOFFENTRY_MODE_LINEARBURN = 13,
    FALLOFFENTRY_MODE_SEPARATOR = 14,
    FALLOFFENTRY_MODE_OVERLAY = 15,
    FALLOFFENTRY_MODE_SOFTLIGHT = 16,
    FALLOFFENTRY_MODE_HARDLIGHT = 17,
    FALLOFFENTRY_MODE_LINEARLIGHT = 18,
    FALLOFFENTRY_MODE_VIVIDLIGHT = 19,
    FALLOFFENTRY_MODE_PINLIGHT = 20,
    FALLOFFENTRY_MODE_GLOW = 21,
    FALLOFFENTRY_MODE_SEPARATOR = 22,
    FALLOFFENTRY_MODE_AVERAGE = 23,
    FALLOFFENTRY_MODE_DIFFERENCE = 24,
    FALLOFFENTRY_MODE_NEGATION = 25,
    FALLOFFENTRY_MODE_EXCLUSION = 26,
    FALLOFFENTRY_MODE_PHOENIX = 27,
    FALLOFFENTRY_MODE_REFLECT = 28,
    FALLOFFENTRY_MODE_SEPARATOR = 29,
    FALLOFFENTRY_MODE_HARDMIX = 30,
    FALLOFFENTRY_MODE_LEVR = 31,
    FALLOFFENTRY_MODE_COLOR = 32,
    FALLOFFENTRY_MODE_COLOR_INV = 33,
};
#endif	// DESC_FALLOFFENTRY_H__

String File Code (Desc_falloffentry.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  FALLOFFENTRY_MODE    "BlendMode";
    FALLOFFENTRY_MODE_NORMAL    "Normal";
    FALLOFFENTRY_MODE_SEPARATOR    "";
    FALLOFFENTRY_MODE_ADD    "Add";
    FALLOFFENTRY_MODE_LIGHTEN    "Lighten";
    FALLOFFENTRY_MODE_MULTIPLY    "Multiply";
    FALLOFFENTRY_MODE_COLORDODGE    "ColorDodge";
    FALLOFFENTRY_MODE_LINEARDODGE    "LinearDodge";
    FALLOFFENTRY_MODE_SEPARATOR    "";
    FALLOFFENTRY_MODE_SUBTRACT    "Subtract";
    FALLOFFENTRY_MODE_DARKEN    "Darken";
    FALLOFFENTRY_MODE_SCREEN    "Screen";
    FALLOFFENTRY_MODE_COLORBURN    "ColorBurn";
    FALLOFFENTRY_MODE_LINEARBURN    "LinearBurn";
    FALLOFFENTRY_MODE_SEPARATOR    "";
    FALLOFFENTRY_MODE_OVERLAY    "Overlay";
    FALLOFFENTRY_MODE_SOFTLIGHT    "SoftLight";
    FALLOFFENTRY_MODE_HARDLIGHT    "HardLight";
    FALLOFFENTRY_MODE_LINEARLIGHT    "LinearLight";
    FALLOFFENTRY_MODE_VIVIDLIGHT    "VividLight";
    FALLOFFENTRY_MODE_PINLIGHT    "PinLight";
    FALLOFFENTRY_MODE_GLOW    "Glow";
    FALLOFFENTRY_MODE_SEPARATOR    "";
    FALLOFFENTRY_MODE_AVERAGE    "Average";
    FALLOFFENTRY_MODE_DIFFERENCE    "Difference";
    FALLOFFENTRY_MODE_NEGATION    "Negation";
    FALLOFFENTRY_MODE_EXCLUSION    "Exclusion";
    FALLOFFENTRY_MODE_PHOENIX    "Phoenix";
    FALLOFFENTRY_MODE_REFLECT    "Reflect";
    FALLOFFENTRY_MODE_SEPARATOR    "";
    FALLOFFENTRY_MODE_HARDMIX    "HardMix";
    FALLOFFENTRY_MODE_LEVR    "Levr";
    FALLOFFENTRY_MODE_COLOR    "Color";
    FALLOFFENTRY_MODE_COLOR_INV    "ColorInverse";
}