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 VPCAUSTICS_RECOMPUTE
Element Information
Sample Code
Example code for the id VPCAUSTICS_RECOMPUTE in VPcaustics
Note that this is not the actual code from the VPcaustics file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (VPcaustics.res)
LONG VPCAUSTICS_RECOMPUTE { ANIM OFF; CYCLE { VPCAUSTICS_RECOMPUTE_FIRSTTIME; VPCAUSTICS_RECOMPUTE_ALWAYS; VPCAUSTICS_RECOMPUTE_NEVER; } }
Header File Code (VPcaustics.h)
#ifndef VPCAUSTICS_H__ #define VPCAUSTICS_H__ enum { VPCAUSTICS_RECOMPUTE = 1000, //First ID should start at 1000 VPCAUSTICS_RECOMPUTE_FIRSTTIME = 1, VPCAUSTICS_RECOMPUTE_ALWAYS = 2, VPCAUSTICS_RECOMPUTE_NEVER = 3, }; #endif // VPCAUSTICS_H__
String File Code (VPcaustics.str)
// C4D-StringResource // Identifier Text STRINGTABLE { VPCAUSTICS_RECOMPUTE "Recompute"; VPCAUSTICS_RECOMPUTE_FIRSTTIME "FirstTime"; VPCAUSTICS_RECOMPUTE_ALWAYS "Always"; VPCAUSTICS_RECOMPUTE_NEVER "Never"; }