blendalot_animgraph/register_types.cpp

22 lines
681 B
C++
Raw Normal View History

2025-11-09 17:22:44 +01:00
#include "register_types.h"
#include "core/object/class_db.h"
#include "synced_animation_graph.h"
2026-01-13 21:00:27 +01:00
void initialize_blendalot_animgraph_module(ModuleInitializationLevel p_level) {
2025-11-09 17:22:44 +01:00
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
return;
}
ClassDB::register_class<SyncedAnimationGraph>();
ClassDB::register_class<SyncedAnimationNode>();
ClassDB::register_class<SyncedBlendTree>();
ClassDB::register_class<AnimationSamplerNode>();
ClassDB::register_class<AnimationBlend2Node>();
2025-11-09 17:22:44 +01:00
}
2026-01-13 21:00:27 +01:00
void uninitialize_blendalot_animgraph_module(ModuleInitializationLevel p_level) {
2025-11-09 17:22:44 +01:00
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
return;
}
// Nothing to do here in this example.
}