Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
CapsuleMesh¶
继承: PrimitiveMesh < Mesh < Resource < RefCounted < Object
表示胶囊状 PrimitiveMesh 的类。
描述¶
表示胶囊状 PrimitiveMesh 的类。
属性¶
|
||
|
||
|
||
|
属性说明¶
float height = 2.0
胶囊网格的总高度(包括半球形末端)。
int radial_segments = 64
胶囊网格上的径向线段数。
float radius = 0.5
胶囊网格的半径。
int rings = 8
沿胶囊高度的环数。