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 的類。
屬性
|
||
|
||
|
||
|
屬性說明
Total height of the capsule mesh (including the hemispherical ends).
Note: The height of a capsule must be at least twice its radius. Otherwise, the capsule becomes a circle. If the height is less than twice the radius, the properties adjust to a valid value.
膠囊網格上的徑向線段數。
Radius of the capsule mesh.
Note: The radius of a capsule cannot be greater than half of its height. Otherwise, the capsule becomes a circle. If the radius is greater than half of the height, the properties adjust to a valid value.
沿膠囊高度的環數。