VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
defaultAnimBinder.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2025-2026 Arnis Lektauers
3#pragma once
4
5#include <string>
6#include <unordered_map>
7
8#include "animBinder.h"
9
10namespace visutwin::canvas
11{
12 class Entity;
13 class GraphNode;
14
16 {
17 public:
18 explicit DefaultAnimBinder(Entity* entity);
19
20 GraphNode* resolve(const std::string& path) override;
21 void unresolve(const std::string& path) override;
22
23 private:
24 Entity* _entity = nullptr;
25 std::unordered_map<std::string, GraphNode*> _nodes;
26 };
27}
GraphNode * resolve(const std::string &path) override
void unresolve(const std::string &path) override
ECS entity — a GraphNode that hosts components defining its behavior.
Definition entity.h:32
Hierarchical scene graph node with local/world transforms and parent-child relationships.
Definition graphNode.h:28