W3cubDocs

/Godot 3.0

CylinderMesh

Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object

Category: Core

Brief Description

Class representing a cylindrical PrimitiveMesh.

Member Variables

  • float bottom_radius - Bottom radius of the cylinder. Defaults to 1.0.
  • float height - Full height of the cylinder. Defaults to 2.0.
  • int radial_segments - Number of radial segments on the cylinder. Defaults to 64.
  • int rings - Number of edge rings along the height of the cylinder. Defaults to 4.
  • float top_radius - Top radius of the cylinder. Defaults to 1.0.

Description

Class representing a cylindrical PrimitiveMesh.

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