Class RidgeBasedPolyhedron
Defined in File ridge_based_polyhedron.h
Inheritance Relationships
Base Type
public sota::Polyhedron(Class Polyhedron)
Derived Types
public sota::NoisePolyhedron(Class NoisePolyhedron)public sota::RidgePolyhedron(Class RidgePolyhedron)
Class Documentation
-
class RidgeBasedPolyhedron : public sota::Polyhedron
Subclassed by sota::NoisePolyhedron, sota::RidgePolyhedron
Public Functions
-
RidgeBasedPolyhedron() = default
-
RidgeBasedPolyhedron(const RidgeBasedPolyhedron &other) = delete
-
RidgeBasedPolyhedron(RidgeBasedPolyhedron &&other) = delete
-
RidgeBasedPolyhedron &operator=(RidgeBasedPolyhedron &&rhs) = delete
-
void set_compression_factor(const float p_compression_factor)
-
float get_compression_factor() const
-
void set_plain_noise(const Ref<FastNoiseLite> p_noise)
-
Ref<FastNoiseLite> get_plain_noise() const
-
void set_ridge_noise(const Ref<FastNoiseLite> p_noise)
-
Ref<FastNoiseLite> get_ridge_noise() const
-
void set_smooth_normals(bool p_smooth_normals)
-
bool get_smooth_normals() const
Protected Functions
-
virtual void calculate_normals() override
Protected Attributes
-
float _compression_factor = {0.1}
-
Ref<FastNoiseLite> _plain_noise
-
Ref<FastNoiseLite> _ridge_noise
Protected Static Functions
-
static void _bind_methods()
-
RidgeBasedPolyhedron() = default