blendalot_animgraph/register_types.cpp

22 lines
677 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"
void initialize_synced_blend_tree_module(ModuleInitializationLevel p_level) {
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
}
void uninitialize_synced_blend_tree_module(ModuleInitializationLevel p_level) {
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
return;
}
// Nothing to do here in this example.
}