This tag defines a sphere. The more segments, the higher precision the lighting calculations and finer the circular edges of the geometry. Changes to these attributes have no effect during runtime. The attributes specific to this tag are:
- radius – The radius of the sphere. The default is 1.
- theta-start – The starting angle of the first segment going around the sphere (X-Z plane). The default is 0.
- theta-length – The angular extent of the solid in the X-Z plane. The default is 2π.
- phi-start – The starting angle of the first segment going up/down on the sphere (Y-Z plane). The default is 0.
- phi-length – The angular extent of the solid in the Y-Z plane. The default is 2π.
- segments-height – The number of segments in the height (Y) direction.
- segments-width – The number of segments in the width (X-Z) direction.