Class CylinderGeometry#
Defined in File StaticGeometry.h
Inheritance Relationships#
Base Type#
public Karana::Scene::AbstractStaticGeometry(Class AbstractStaticGeometry)
Class Documentation#
-
class CylinderGeometry : public Karana::Scene::AbstractStaticGeometry#
Concrete cylinder geometry class.
See Scene layer for more discussion on the scene layer.
Public Functions
-
CylinderGeometry(float radius, float height)#
Constructor from a radius and height.
- Parameters:
radius – radius of the cylinder
height – height of the cylinder
-
CylinderGeometry(const CylinderGeometry&)#
Copy constructor.
-
CylinderGeometry &operator=(const CylinderGeometry&) = delete#
-
CylinderGeometry(CylinderGeometry&&) = delete#
-
CylinderGeometry &operator=(CylinderGeometry&&) = delete#
-
virtual operator StaticMeshGeometry() const override#
Convert to a triangular mesh.
- Returns:
The converted mesh
-
CylinderGeometry(float radius, float height)#