CapsuleMesh¶
Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object
Class representing a capsule-shaped PrimitiveMesh.
Description¶
Class representing a capsule-shaped PrimitiveMesh.
Properties¶
|
||
|
||
|
||
|
Property Descriptions¶
float mid_height = 1.0
Height of the middle cylindrical part of the capsule (without the hemispherical ends).
Note: The capsule's total height is equal to mid_height + 2 * radius.
int radial_segments = 64
Number of radial segments on the capsule mesh.
float radius = 1.0
Radius of the capsule mesh.
int rings = 8
Number of rings along the height of the capsule.