SphereMesh¶
Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object
Category: Core
Brief Description¶
Class representing a spherical PrimitiveMesh.
Description¶
Class representing a spherical PrimitiveMesh.
Property Descriptions¶
- float height
Setter | set_height(value) |
Getter | get_height() |
Full height of the sphere. Defaults to 2.0.
- bool is_hemisphere
Setter | set_is_hemisphere(value) |
Getter | get_is_hemisphere() |
Determines whether a full sphere or a hemisphere is created. Attention: To get a regular hemisphere, the height and radius of the sphere have to equal. Defaults to false
.
- int radial_segments
Setter | set_radial_segments(value) |
Getter | get_radial_segments() |
Number of radial segments on the sphere. Defaults to 64.
- float radius
Setter | set_radius(value) |
Getter | get_radius() |
Radius of sphere. Defaults to 1.0.
- int rings
Setter | set_rings(value) |
Getter | get_rings() |
Number of segments along the height of the sphere. Defaults to 32.