W3cubDocs

/Godot 3.0

CapsuleMesh

Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object

Category: Core

Brief Description

Class representing a capsule-shaped PrimitiveMesh.

Member Variables

  • float mid_height - Height of the capsule mesh from the center point. Defaults to 1.0.
  • int radial_segments - Number of radial segments on the capsule mesh. Defaults to 64.
  • float radius - Radius of the capsule mesh. Defaults to 1.0.
  • int rings - Number of rings along the height of the capsule. Defaults to 8.

Description

Class representing a capsule-shaped PrimitiveMesh.

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_capsulemesh.html