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