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