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