SphereMesh
Class representing a spherical .
Class representing a spherical PrimitiveMesh.
- height
Default | 2.0 |
Setter | set_height(value) |
Getter | get_height() |
- bool is_hemisphere
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.
Default | 64 |
Setter | set_radial_segments(value) |
Getter | get_radial_segments() |
- radius
Radius of sphere.
- int rings
Default | 32 |
Setter | set_rings(value) |
Getter | get_rings() |
Number of segments along the height of the sphere.