ShapeBox
The ShapeBox class represents a box-shaped geometry in the Scene. It extends the Shape class by adding properties to define the box dimensions.
#include <scene/TellusimShapeBox.h>
Inheritance
- Inherits from Shape
Constructors
explicit ShapeBox(const char *name = nullptr)
explicit ShapeBox(Body &body, const char *name = nullptr)
explicit ShapeBox(Object &object, const char *name = nullptr)
Methods
Shape size.
void setSize(Vector3f size)
const Vector3f getSize() const