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 的类。
属性
|
||
|
||
|
||
|
属性说明
胶囊体网格的总高度(包括半球形末端)。
注意:胶囊体的 height 必须至少为其 radius 的两倍。否则,胶囊体将变为圆形。如果 height 小于 radius 的两倍,则属性将调整为有效值。
胶囊网格上的径向线段数。
胶囊体网格的半径。
注意:胶囊体的 radius 不能大于其 height 的一半。否则,胶囊体将变成圆形。如果 radius 大于 height 的一半,则属性将调整为有效值。
沿胶囊高度的环数。