OptionalcapThe number of height segments for each cap. Defaults to 8.
OptionallengthThe length of the cylinder part. Defaults to 1.
OptionalradialThe number of radial segments. Defaults to 16.
OptionalradiusThe radius of the capsule. Defaults to 0.5.
Configuration options for capsule geometry.