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.
Public Functions
-
RoundFrustumGeometry(float bottomRadius, float topRadius, float height)#
Constructor from a radii and hight.
- Parameters:
bottomRadius – radius of bottom face
topRadius – 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 bottomRadius, float topRadius, float height)#