Class representing a capsule-shaped [PrimitiveMesh].
Class representing a capsule-shaped [PrimitiveMesh].
Total height of the capsule mesh (including the hemispherical ends).
[b]Note:[/b] The [member height] of a capsule must be at least twice its [member radius]. Otherwise, the capsule becomes a circle. If the [member height] is less than twice the [member radius], the properties adjust to a valid value.
Number of radial segments on the capsule mesh.
Radius of the capsule mesh.
[b]Note:[/b] The [member radius] of a capsule cannot be greater than half of its [member height]. Otherwise, the capsule becomes a circle. If the [member radius] is greater than half of the [member height], the properties adjust to a valid value.
Number of rings along the height of the capsule.