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 FIELDLAYER_CHANNELMIX_PIVOTMODE
Element Information
Sample Code
Example code for the id FIELDLAYER_CHANNELMIX_PIVOTMODE in FLChannelMix
Note that this is not the actual code from the FLChannelMix file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (FLChannelMix.res)
LONG FIELDLAYER_CHANNELMIX_PIVOTMODE { CYCLE { FIELDLAYER_CHANNELMIX_PIVOTMODE_DIRECT; FIELDLAYER_CHANNELMIX_PIVOTMODE_CHANNELS; } }
Header File Code (FLChannelMix.h)
#ifndef FLCHANNELMIX_H__ #define FLCHANNELMIX_H__ enum { FIELDLAYER_CHANNELMIX_PIVOTMODE = 1000, //First ID should start at 1000 FIELDLAYER_CHANNELMIX_PIVOTMODE_DIRECT = 1, FIELDLAYER_CHANNELMIX_PIVOTMODE_CHANNELS = 2, }; #endif // FLCHANNELMIX_H__
String File Code (FLChannelMix.str)
// C4D-StringResource // Identifier Text STRINGTABLE { FIELDLAYER_CHANNELMIX_PIVOTMODE "PivotChannels"; FIELDLAYER_CHANNELMIX_PIVOTMODE_DIRECT "Direct"; FIELDLAYER_CHANNELMIX_PIVOTMODE_CHANNELS "Channels"; }