SphereMesh

Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object

Category: Core

Brief Description

Class representing a spherical PrimitiveMesh.

Member Variables

  • float height - Full height of the sphere. Defaults to 2.0.
  • bool is_hemisphere - Determines whether a full sphere or a hemisphere is created. Attention: To get a regular hemisphere the height and radius of the sphere have to equal. Defaults to false.
  • int radial_segments - Number of radial segments on the sphere. Defaults to 64.
  • float radius - Radius of sphere. Defaults to 1.0.
  • int rings - Number of segments along the height of the sphere. Defaults to 32.

Description

Class representing a spherical PrimitiveMesh.