godot-cpp
godot-cpp copied to clipboard
Add ADD_ARRAY_COUNT
Place ADD_ARRAY_COUNT to be able to place typed vector structures in the inspector, such as Curve3D points.
#define ADD_ARRAY_COUNT(m_label, m_count_property, m_count_property_setter, m_count_property_getter, m_prefix) ClassDB::add_property_array_count(get_class_static(), m_label, m_count_property, _scs_create(m_count_property_setter), _scs_create(m_count_property_getter), m_prefix)
@scriptsengineer Is this for Godot 4.0 (GDExtension) or 3.x (GDNative)?
It was in godot 4.0-beta9 commit 02336831735fd6affbe0a6fa252ec98d3e78120c