Struct SphereMesh
Class representing a spherical PrimitiveMesh
.
struct SphereMesh
;
Properties
Name | Type | Description |
---|---|---|
height [get, set]
|
double | Full height of the sphere. |
isHemisphere [get, set]
|
bool | If true , a hemisphere is created rather than a full sphere.
Note: To get a regular hemisphere, the height and radius of the sphere must be equal.
|
radialSegments [get, set]
|
long | Number of radial segments on the sphere. |
radius [get, set]
|
double | Radius of sphere. |
rings [get, set]
|
long | Number of segments along the height of the sphere. |
Methods
Name | Description |
---|---|
getHeight
|
|
getIsHemisphere
|
|
getRadialSegments
|
|
getRadius
|
|
getRings
|
|
setHeight
|
|
setIsHemisphere
|
|
setRadialSegments
|
|
setRadius
|
|
setRings
|