Class BoxGeometry#
Defined in File StaticGeometry.h
Inheritance Relationships#
Base Type#
public Karana::Scene::AbstractStaticGeometry(Class AbstractStaticGeometry)
Class Documentation#
-
class BoxGeometry : public Karana::Scene::AbstractStaticGeometry#
Concrete box geometry class.
Public Functions
-
BoxGeometry(float width, float height, float depth)#
Constructor from side-lengths.
- Parameters:
width – side length in the x direction
height – side length in the y direction
depth – side length in the z direction
-
BoxGeometry(const BoxGeometry&)#
Copy constructor.
-
BoxGeometry &operator=(const BoxGeometry&) = delete#
-
BoxGeometry(BoxGeometry&&) = delete#
-
BoxGeometry &operator=(BoxGeometry&&) = delete#
-
virtual operator StaticMeshGeometry() const override#
Convert to a triangular mesh.
- Returns:
The converted mesh
-
BoxGeometry(float width, float height, float depth)#