Pixelpart 1.8.2
Godot Plugin
Loading...
Searching...
No Matches
PixelpartStaticPropertyBool.h
1#ifndef PIXELPART_STATIC_PROPERTY_BOOL_H
2#define PIXELPART_STATIC_PROPERTY_BOOL_H
3
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>
8
9namespace godot {
16class PixelpartStaticPropertyBool : public RefCounted {
17 GDCLASS(PixelpartStaticPropertyBool, RefCounted)
18
19public:
20 PixelpartStaticPropertyBool();
21
22#ifdef DOXYGEN
27#endif
28
29 void init(pixelpart::StaticProperty<bool>* prop);
30
36 bool value() const;
37
43 void set_base_value(bool value);
44
50 bool get_base_value() const;
51
52protected:
53 static void _bind_methods();
54
55private:
56 pixelpart::StaticProperty<bool>* property = nullptr;
57};
58}
59
60#endif
bool get_base_value() const
Return value without effect inputs taken into account.
Definition PixelpartStaticPropertyBool.cpp:27
bool value() const
Return value with effect inputs taken into account.
Definition PixelpartStaticPropertyBool.cpp:14
void set_base_value(bool value)
Set value without effect inputs taken into account.
Definition PixelpartStaticPropertyBool.cpp:22
bool base_value
Value without effect inputs taken into account.
Definition PixelpartStaticPropertyBool.h:26