CreateCube()
Syntax
Result = CreateCube(#Mesh, Size)Description
Create a new cube.
Parameters
#Mesh The number to identify the new mesh. #PB_Any can be used to auto-generate this number. Size Size, in world unit, of the cube.
Return value
Returns nonzero if the mesh was created successfully and zero if there was an error. If #PB_Any was used as the #Mesh parameter then the new generated number is returned on success.
See Also
FreeMesh(), CreateSphere(), CreateMesh(), CreateCylinder(), CreatePlane(), CreateLine3D()
Supported OS
All