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