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.