Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
SphereMesh¶
Inherits: PrimitiveMesh < Mesh < Resource < RefCounted < Object
Class representing a spherical PrimitiveMesh.
描述¶
Class representing a spherical PrimitiveMesh.
属性¶
|
||
|
||
|
||
|
||
|
Property Descriptions¶
float height = 1.0
Full height of the sphere.
bool is_hemisphere = false
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.
int radial_segments = 64
Number of radial segments on the sphere.
float radius = 0.5
Radius of sphere.
int rings = 32
Number of segments along the height of the sphere.