CapsuleMesh

Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object PrimitiveMesh.

Description

PrimitiveMesh.

Properties

Property Descriptions

  • float mid_height 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 Number of radial segments on the capsule mesh.

  • float radius Radius of the capsule mesh.

  • int rings Number of rings along the height of the capsule.