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_DIRECTIONMODE
Element Information
Sample Code
Example code for the id FIELDLAYER_CHANNELMIX_DIRECTIONMODE 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_DIRECTIONMODE { CYCLE { FIELDLAYER_CHANNELMIX_DIRECTIONMODE_DIRECT; FIELDLAYER_CHANNELMIX_DIRECTIONMODE_CHANNELS; } }
Header File Code (FLChannelMix.h)
#ifndef FLCHANNELMIX_H__ #define FLCHANNELMIX_H__ enum { FIELDLAYER_CHANNELMIX_DIRECTIONMODE = 1000, //First ID should start at 1000 FIELDLAYER_CHANNELMIX_DIRECTIONMODE_DIRECT = 1, FIELDLAYER_CHANNELMIX_DIRECTIONMODE_CHANNELS = 2, }; #endif // FLCHANNELMIX_H__
String File Code (FLChannelMix.str)
// C4D-StringResource // Identifier Text STRINGTABLE { FIELDLAYER_CHANNELMIX_DIRECTIONMODE "DirectionChannels"; FIELDLAYER_CHANNELMIX_DIRECTIONMODE_DIRECT "Direct"; FIELDLAYER_CHANNELMIX_DIRECTIONMODE_CHANNELS "Channels"; }