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