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