CapsuleMesh

Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object

Class representing a capsule-shaped PrimitiveMesh.

Description

Class representing a capsule-shaped PrimitiveMesh.

Property Descriptions

Default1.0
Setterset_mid_height(value)
Getterget_mid_height()

Height of the capsule mesh from the center point.


  • int radial_segments
Default64
Setterset_radial_segments(value)
Getterget_radial_segments()

Number of radial segments on the capsule mesh.


Default1.0
Setterset_radius(value)
Getterget_radius()

Radius of the capsule mesh.


Default8
Setterset_rings(value)
Getterget_rings()

Number of rings along the height of the capsule.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.