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...
CapsuleMesh¶
继承: PrimitiveMesh < Mesh < Resource < RefCounted < Object
表示胶囊状 PrimitiveMesh 的类。
描述¶
表示胶囊状 PrimitiveMesh 的类。
属性¶
|
||
|
||
|
||
|
属性说明¶
float height = 2.0
胶囊网格的总高度(包括半球形末端)。
int radial_segments = 64
胶囊网格上的径向线段数。
float radius = 0.5
胶囊网格的半径。
int rings = 8
沿胶囊高度的环数。