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 COMP3DTAG_MIDPOINT
Element Information
Sample Code
Example code for the id COMP3DTAG_MIDPOINT in COMPOSITING3DTAG
Note that this is not the actual code from the COMPOSITING3DTAG file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (COMPOSITING3DTAG.res)
LONG COMP3DTAG_MIDPOINT { ANIM OFF; FIT_H ; CYCLE { COMP3DTAG_MIDTL; COMP3DTAG_MIDTR; COMP3DTAG_MIDCTR; COMP3DTAG_MIDBL; COMP3DTAG_MIDBR; } }
Header File Code (COMPOSITING3DTAG.h)
#ifndef COMPOSITING3DTAG_H__ #define COMPOSITING3DTAG_H__ enum { COMP3DTAG_MIDPOINT = 1000, //First ID should start at 1000 COMP3DTAG_MIDTL = 1, COMP3DTAG_MIDTR = 2, COMP3DTAG_MIDCTR = 3, COMP3DTAG_MIDBL = 4, COMP3DTAG_MIDBR = 5, }; #endif // COMPOSITING3DTAG_H__
String File Code (COMPOSITING3DTAG.str)
// C4D-StringResource // Identifier Text STRINGTABLE { COMP3DTAG_MIDPOINT "AnchorPoint"; COMP3DTAG_MIDTL "Topleft"; COMP3DTAG_MIDTR "Topright"; COMP3DTAG_MIDCTR "Center"; COMP3DTAG_MIDBL "Bottomleft"; COMP3DTAG_MIDBR "Bottomright"; }