Syntax
Result = dbMakeObjectCube(ObjectID, Size.f)
Description
If #PB_Any is used as the ObjectID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the ObjectID parameter.
This command will construct a 3D object from a cube mesh. The mesh is used as the root limb for the 3D object. The 3D object will be constructed untextured and such models will appear white when displayed. The parameters should be specified using integer values.
See Also
dbMakeObject, dbMakeObjectBox, dbMakeObjectCone, dbMakeObjectCylinder, dbMakeObjectFromLimb, dbMakeObjectPlain, dbMakeObjectSphere, dbMakeObjectTriangle