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 XPA_SPRITE_TYPE
Element Information
Sample Code
Example code for the id XPA_SPRITE_TYPE in Oxpaction
Note that this is not the actual code from the Oxpaction file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Oxpaction.res)
LONG XPA_SPRITE_TYPE { CYCLE { XPA_SPRITE_DOT; XPA_SPRITE_TICK; XPA_SPRITE_PLACARD; XPA_SPRITE_SPHERE; XPA_SPRITE_CONE; XPA_SPRITE_PYRAMID; XPA_SPRITE_DISC; XPA_SPRITE_3PLANE; XPA_SPRITE_LIGHT; XPA_SPRITE_POINT; XPA_SPRITE_TEXT; } }
Header File Code (Oxpaction.h)
#ifndef OXPACTION_H__ #define OXPACTION_H__ enum { XPA_SPRITE_TYPE = 1000, //First ID should start at 1000 XPA_SPRITE_DOT = 1, XPA_SPRITE_TICK = 2, XPA_SPRITE_PLACARD = 3, XPA_SPRITE_SPHERE = 4, XPA_SPRITE_CONE = 5, XPA_SPRITE_PYRAMID = 6, XPA_SPRITE_DISC = 7, XPA_SPRITE_3PLANE = 8, XPA_SPRITE_LIGHT = 9, XPA_SPRITE_POINT = 10, XPA_SPRITE_TEXT = 11, }; #endif // OXPACTION_H__
String File Code (Oxpaction.str)
// C4D-StringResource // Identifier Text STRINGTABLE { XPA_SPRITE_TYPE "SpriteType"; XPA_SPRITE_DOT "Cube"; XPA_SPRITE_TICK "Cross"; XPA_SPRITE_PLACARD "Placard"; XPA_SPRITE_SPHERE "Sphere"; XPA_SPRITE_CONE "Cone"; XPA_SPRITE_PYRAMID "Pyramid"; XPA_SPRITE_DISC "Disc"; XPA_SPRITE_3PLANE "3-Plane"; XPA_SPRITE_LIGHT "Light"; XPA_SPRITE_POINT "Points"; XPA_SPRITE_TEXT "Text"; }