define the Graphics Display Kit transformation
group+OPort_ GDxform_templ
{
float+opt _mat[4][4];
float+opt _xlate[3];
float+opt _center[3];
float+nonotify+opt ocenter[3];
float+nonotify+opt dcenter[3];
};
GDxform_templ_ GDxform<NE
smallPixmapName="xform.bmx">};
GDxform _DefaultXform
{
mat[4][4] = {{1.0, 0.0, 0.0, 0.0},
{0.0, 1.0, 0.0, 0.0},
{0.0, 0.0, 1.0, 0.0},
{0.0, 0.0, 0.0, 1.0}};
xlate[3] = {0.0, 0.0, 0.0};
center[3] = {0.0, 0.0, 0.0};
ocenter[3] = {0.0, 0.0, 0.0};
dcenter[3] = {0.0, 0.0, 0.0};
};
These templates define a Graphics Display Kit transformation. GDxform_templ and GDxform define an instanceable version without default values. DefaultXform defines an instanceable version with default values.
You can connect a DefaultXform to an object, light, or camera.
Libraries.Graphics_Display.Objects.GroupObject