CreateObjectCone

Description

Creates a 3D cone with the given diameter and height, and an optional number of polygons. The segments parameter determines how many columns of polygons make up the cone and must be at least 3. The formula for calculating the total number of polygons used in the cone is 2*segments. Returns an ID you can use to reference this object in other commands.

Definition

integer CreateObjectCone( height, diameter, segments )

CreateObjectCone( objID, height, diameter, segments )

Parameters