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 RDATA_AAFILTER
Element Information
Sample Code
Example code for the id RDATA_AAFILTER in Drendersettings
Note that this is not the actual code from the Drendersettings file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Drendersettings.res)
LONG RDATA_AAFILTER { ANIM OFF; CYCLE { RDATA_AAFILTER_STILLIMAGE; RDATA_AAFILTER_ANIMATION; RDATA_AAFILTER_MITCHELL; -1; RDATA_AAFILTER_SINC; RDATA_AAFILTER_BOX; RDATA_AAFILTER_TRIANGLE; RDATA_AAFILTER_CATMULL; RDATA_AAFILTER_VIDEO; } }
Header File Code (Drendersettings.h)
#ifndef DRENDERSETTINGS_H__ #define DRENDERSETTINGS_H__ enum { RDATA_AAFILTER = 1000, //First ID should start at 1000 RDATA_AAFILTER_STILLIMAGE = 1, RDATA_AAFILTER_ANIMATION = 2, RDATA_AAFILTER_MITCHELL = 3, -1 = 4, RDATA_AAFILTER_SINC = 5, RDATA_AAFILTER_BOX = 6, RDATA_AAFILTER_TRIANGLE = 7, RDATA_AAFILTER_CATMULL = 8, RDATA_AAFILTER_VIDEO = 9, }; #endif // DRENDERSETTINGS_H__
String File Code (Drendersettings.str)
// C4D-StringResource // Identifier Text STRINGTABLE { RDATA_AAFILTER "Filter"; RDATA_AAFILTER_STILLIMAGE "Cubic(StillImage)"; RDATA_AAFILTER_ANIMATION "Gauss(Animation)"; RDATA_AAFILTER_MITCHELL "Mitchell"; -1 ""; RDATA_AAFILTER_SINC "Sinc"; RDATA_AAFILTER_BOX "Box"; RDATA_AAFILTER_TRIANGLE "Triangle"; RDATA_AAFILTER_CATMULL "Catmull"; RDATA_AAFILTER_VIDEO "PAL/NTSC"; }