1#ifndef PIXELPART_STATIC_PROPERTY_FLOAT2_H
2#define PIXELPART_STATIC_PROPERTY_FLOAT2_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 PixelpartStaticPropertyFloat2 :
public RefCounted {
17 GDCLASS(PixelpartStaticPropertyFloat2, RefCounted)
20 PixelpartStaticPropertyFloat2();
29 void init(pixelpart::StaticProperty<pixelpart::float2_t>* prop);
36 Vector2
value()
const;
53 static void _bind_methods();
56 pixelpart::StaticProperty<pixelpart::float2_t>*
property =
nullptr;
void set_base_value(Vector2 value)
Set value without effect inputs taken into account.
Definition PixelpartStaticPropertyFloat2.cpp:22
Vector2 base_value
Value without effect inputs taken into account.
Definition PixelpartStaticPropertyFloat2.h:26
Vector2 value() const
Return value with effect inputs taken into account.
Definition PixelpartStaticPropertyFloat2.cpp:14
Vector2 get_base_value() const
Return value without effect inputs taken into account.
Definition PixelpartStaticPropertyFloat2.cpp:27