ShapeSphere
The ShapeSphere class represents a sphere-shaped geometry in the Scene. It extends the Shape class by adding properties to define the sphere radius.
#include <scene/TellusimShapeSphere.h>
Inheritance
- Inherits from Shape
Constructors
explicit ShapeSphere(const char *name = nullptr)
explicit ShapeSphere(Body &body, const char *name = nullptr)
explicit ShapeSphere(Object &object, const char *name = nullptr)
Methods
Shape radius.
void setRadius(float32_t radius)
float32_t getRadius() const