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