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¶
Inherits: PrimitiveMesh < Mesh < Resource < RefCounted < Object
Class representing a capsule-shaped PrimitiveMesh.
描述¶
Class representing a capsule-shaped PrimitiveMesh.
属性¶
|
||
|
||
|
||
|
Property Descriptions¶
float height = 2.0
Total height of the capsule mesh (including the hemispherical ends).
int radial_segments = 64
Number of radial segments on the capsule mesh.
float radius = 0.5
Radius of the capsule mesh.
int rings = 8
Number of rings along the height of the capsule.