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>();
|
2025-12-29 15:25:10 +01:00
|
|
|
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.
|
|
|
|
|
}
|