CreateObjectSphere

Description

Creates a 3D sphere with the given diameter, and an optional number of polygons. The rows parameter determines how many rows of polygons make up the sphere and must be at least 2. The columns parameter determines how many columns of polygons make up the sphere and must be at least 3. The formula for calculating the total number of polygons used in the sphere is 2*columns*(rows-1)

Definition

CreateObjectSphere( objID, diameter, rows, columns )

integer CreateObjectSphere( diameter, rows, columns )

Parameters