CapsuleMesh

Inherits: PrimitiveMesh < Mesh < Resource < RefCounted < Object

Class representing a capsule-shaped PrimitiveMesh.

Description

Class representing a capsule-shaped PrimitiveMesh.

Property Descriptions

Default

3.0

Setter

set_height(value)

Getter

get_height()

Total height of the capsule mesh (including the hemispherical ends).


  • int radial_segments

Default

64

Setter

set_radial_segments(value)

Getter

get_radial_segments()

Number of radial segments on the capsule mesh.


Default

1.0

Setter

set_radius(value)

Getter

get_radius()

Radius of the capsule mesh.


Default

8

Setter

set_rings(value)

Getter

get_rings()

Number of rings along the height of the capsule.