Syntax

Result = dbMakeObjectTriangle(ObjectID, x1, y1, z1, x2, y2, z2, x3, y3, z3)

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 values that describe a single triangle 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 object number should be specified using an integer value and the 3D coordinates specified using real values.

See Also

dbMakeObject, dbMakeObjectBox, dbMakeObjectCone, dbMakeObjectCube, dbMakeObjectCylinder, dbMakeObjectFromLimb, dbMakeObjectPlain, dbMakeObjectSphere