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_MATRIX2HPB_ORDER
Element Information
Sample Code
Example code for the id GV_MATRIX2HPB_ORDER in GVmatrix2hpb
Note that this is not the actual code from the GVmatrix2hpb file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (GVmatrix2hpb.res)
LONG GV_MATRIX2HPB_ORDER
{
INPORT ; CREATEPORT ; STATICPORT ;
CYCLE
{ GV_MATRIX2HPB_ORDER_YXZ;
GV_MATRIX2HPB_ORDER_YZX;
GV_MATRIX2HPB_ORDER_ZYX;
GV_MATRIX2HPB_ORDER_ZXY;
GV_MATRIX2HPB_ORDER_XZY;
GV_MATRIX2HPB_ORDER_XYZ;
GV_MATRIX2HPB_ORDER_DEFAULT;
}
}
Header File Code (GVmatrix2hpb.h)
#ifndef GVMATRIX2HPB_H__
#define GVMATRIX2HPB_H__
enum
{
GV_MATRIX2HPB_ORDER = 1000, //First ID should start at 1000
GV_MATRIX2HPB_ORDER_YXZ = 1,
GV_MATRIX2HPB_ORDER_YZX = 2,
GV_MATRIX2HPB_ORDER_ZYX = 3,
GV_MATRIX2HPB_ORDER_ZXY = 4,
GV_MATRIX2HPB_ORDER_XZY = 5,
GV_MATRIX2HPB_ORDER_XYZ = 6,
GV_MATRIX2HPB_ORDER_DEFAULT = 7,
};
#endif // GVMATRIX2HPB_H__
String File Code (GVmatrix2hpb.str)
// C4D-StringResource
// Identifier Text
STRINGTABLE
{
GV_MATRIX2HPB_ORDER "RotationOrder";
GV_MATRIX2HPB_ORDER_YXZ "YXZ";
GV_MATRIX2HPB_ORDER_YZX "YZX";
GV_MATRIX2HPB_ORDER_ZYX "ZYX";
GV_MATRIX2HPB_ORDER_ZXY "ZXY";
GV_MATRIX2HPB_ORDER_XZY "XZY";
GV_MATRIX2HPB_ORDER_XYZ "XYZ";
GV_MATRIX2HPB_ORDER_DEFAULT "Default";
}