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 GV_XPEMIT_NODE_EMITTER_SOURCE_DIR
Element Information
Sample Code
Example code for the id GV_XPEMIT_NODE_EMITTER_SOURCE_DIR in GVxpemit
Note that this is not the actual code from the GVxpemit file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (GVxpemit.res)
LONG GV_XPEMIT_NODE_EMITTER_SOURCE_DIR { CYCLE { NODE_SOURCE_DIR_PHONG_NORMAL; NODE_SOURCE_DIR_NORMAL; NODE_SOURCE_DIR_SPHERICAL; NODE_SOURCE_DIR_X; NODE_SOURCE_DIR_XNEG; NODE_SOURCE_DIR_Y; NODE_SOURCE_DIR_YNEG; NODE_SOURCE_DIR_Z; NODE_SOURCE_DIR_ZNEG; } }
Header File Code (GVxpemit.h)
#ifndef GVXPEMIT_H__ #define GVXPEMIT_H__ enum { GV_XPEMIT_NODE_EMITTER_SOURCE_DIR = 1000, //First ID should start at 1000 NODE_SOURCE_DIR_PHONG_NORMAL = 1, NODE_SOURCE_DIR_NORMAL = 2, NODE_SOURCE_DIR_SPHERICAL = 3, NODE_SOURCE_DIR_X = 4, NODE_SOURCE_DIR_XNEG = 5, NODE_SOURCE_DIR_Y = 6, NODE_SOURCE_DIR_YNEG = 7, NODE_SOURCE_DIR_Z = 8, NODE_SOURCE_DIR_ZNEG = 9, }; #endif // GVXPEMIT_H__
String File Code (GVxpemit.str)
// C4D-StringResource // Identifier Text STRINGTABLE { GV_XPEMIT_NODE_EMITTER_SOURCE_DIR "ParticleDirection"; NODE_SOURCE_DIR_PHONG_NORMAL "PhongNormal"; NODE_SOURCE_DIR_NORMAL "Normal"; NODE_SOURCE_DIR_SPHERICAL "Random"; NODE_SOURCE_DIR_X "X+Axis"; NODE_SOURCE_DIR_XNEG "X-Axis"; NODE_SOURCE_DIR_Y "Y+Axis"; NODE_SOURCE_DIR_YNEG "Y-Axis"; NODE_SOURCE_DIR_Z "Z+Axis"; NODE_SOURCE_DIR_ZNEG "Z-Axis"; }