Class reference
SphereMesh
Inherits PrimitiveMesh
Class representing a spherical PrimitiveMesh.
Description
Class representing a spherical PrimitiveMesh.
Properties
float height = 1.0
float height = 1.0Full height of the sphere.
bool is_hemisphere = false
bool is_hemisphere = falseIf 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.
int radial_segments = 64
int radial_segments = 64Number of radial segments on the sphere.
float radius = 0.5
float radius = 0.5Radius of sphere.
int rings = 32
int rings = 32Number of segments along the height of the sphere.