1#ifndef PIXELPART_STATIC_PROPERTY_FLOAT_H
2#define PIXELPART_STATIC_PROPERTY_FLOAT_H
4#include <godot_cpp/core/binder_common.hpp>
5#include <godot_cpp/classes/ref.hpp>
6#include <pixelpart-runtime/common/Math.h>
7#include <pixelpart-runtime/effect/StaticProperty.h>
16class PixelpartStaticPropertyFloat :
public RefCounted {
17 GDCLASS(PixelpartStaticPropertyFloat, RefCounted)
20 PixelpartStaticPropertyFloat();
29 void init(pixelpart::StaticProperty<pixelpart::float_t>* prop);
53 static void _bind_methods();
56 pixelpart::StaticProperty<pixelpart::float_t>*
property =
nullptr;
void set_base_value(float value)
Set value without effect inputs taken into account.
Definition PixelpartStaticPropertyFloat.cpp:22
float value() const
Return value with effect inputs taken into account.
Definition PixelpartStaticPropertyFloat.cpp:14
float get_base_value() const
Return value without effect inputs taken into account.
Definition PixelpartStaticPropertyFloat.cpp:27
float base_value
Value without effect inputs taken into account.
Definition PixelpartStaticPropertyFloat.h:26