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
表示球形 PrimitiveMesh 的类。
Description¶
表示球形 PrimitiveMesh 的类。
Properties¶
|
||
|
||
|
||
|
||
|
Property Descriptions¶
float height = 1.0
球体的全高。
bool is_hemisphere = false
如果为 true
,则创建一个半球而不是一个完整的球体。
注意:要得到一个规则的半球,球体的高度和半径必须相等。
int radial_segments = 64
球体上的径向段数。
float radius = 0.5
球体半径.
int rings = 32
沿着球体高度的段数。