Class CM3ItemSphere extends CM3Item
CM3ItemSphere Class
Settings Group: Dimensions
Setting | Name | Type | Options | Default | Comments |
---|---|---|---|---|---|
radius | Radius | CMTYPE_FLOAT | 10 | sphere radius. Default is 1. | |
widthSegments | Number of Horizontal Segments | CMTYPE_INTEGER | 16,Range:[3,Infinity] | number of horizontal segments. Minimum value is 3, and the default is 8. | |
heightSegments | Number of Vertical Segements | CMTYPE_INTEGER | 16,Range:[2,Infinity] | number of vertical segments. Minimum value is 2, and the default is 6. | |
phiStart | Horizontal Start Angle | CMTYPE_FLOAT | 0,Range:[0,Math.PI*2] | specify horizontal starting angle. Default is 0. | |
phiLength | Horizontal Sweep Angle | CMTYPE_FLOAT | Math.PI*2,Range:[0,Math.PI*2] | specify horizontal sweep angle size. Default is Math.PI * 2. | |
thetaStart | Vertical Start Angle | CMTYPE_FLOAT | 0,Range:[0,Math.PI*2] | specify vertical starting angle. Default is 0. | |
thetaLength | Vertical Sweep Angle | CMTYPE_FLOAT | Math.PI*2,Range:[0,Math.PI*2] | specify vertical sweep angle size. Default is Math.PI. |