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_COLORIZER_INPUT
Element Information
Sample Code
Example code for the id SLA_COLORIZER_INPUT in XSLAColorizer
Note that this is not the actual code from the XSLAColorizer file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (XSLAColorizer.res)
LONG SLA_COLORIZER_INPUT { CYCLE { SLA_COLORIZER_INPUT_LUMINANCE; SLA_COLORIZER_INPUT_HUE; SLA_COLORIZER_INPUT_SATURATION; SLA_COLORIZER_INPUT_LIGHTNESS; SLA_COLORIZER_INPUT_RED; SLA_COLORIZER_INPUT_GREEN; SLA_COLORIZER_INPUT_BLUE; } }
Header File Code (XSLAColorizer.h)
#ifndef XSLACOLORIZER_H__ #define XSLACOLORIZER_H__ enum { SLA_COLORIZER_INPUT = 1000, //First ID should start at 1000 SLA_COLORIZER_INPUT_LUMINANCE = 1, SLA_COLORIZER_INPUT_HUE = 2, SLA_COLORIZER_INPUT_SATURATION = 3, SLA_COLORIZER_INPUT_LIGHTNESS = 4, SLA_COLORIZER_INPUT_RED = 5, SLA_COLORIZER_INPUT_GREEN = 6, SLA_COLORIZER_INPUT_BLUE = 7, }; #endif // XSLACOLORIZER_H__
String File Code (XSLAColorizer.str)
// C4D-StringResource // Identifier Text STRINGTABLE { SLA_COLORIZER_INPUT "Input"; SLA_COLORIZER_INPUT_LUMINANCE "Luminance"; SLA_COLORIZER_INPUT_HUE "Hue"; SLA_COLORIZER_INPUT_SATURATION "Saturation"; SLA_COLORIZER_INPUT_LIGHTNESS "Lightness"; SLA_COLORIZER_INPUT_RED "Red"; SLA_COLORIZER_INPUT_GREEN "Green"; SLA_COLORIZER_INPUT_BLUE "Blue"; }