CreateCube()

语法

Result = CreateCube(#Mesh, Size)
概要
Create a new cube.

参数

#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.

返回值

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.

参阅

FreeMesh(), CreateSphere(), CreateMesh(), CreateCylinder(), CreatePlane(), CreateLine3D()

已支持操作系统

所有

<- CopyMesh() - Mesh Index - CreateCylinder() ->