|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
System for computing hierarchical world transforms. More...
#include "System.hpp"#include "Registry.hpp"#include "TransformEpoch.hpp"#include "components/Transform.hpp"#include "components/Hierarchy.hpp"#include "FlatGeometry.hpp"#include "../math/Math.hpp"#include <algorithm>

Go to the source code of this file.
Classes | |
| class | esengine::ecs::TransformSystem |
Namespaces | |
| namespace | esengine |
| namespace | esengine::ecs |
Functions | |
| bool | esengine::ecs::isDescendantOf (Registry ®istry, Entity entity, Entity ancestor) |
| void | esengine::ecs::syncHierarchyComponents (Registry ®istry, Entity entity, Entity oldParent, Entity newParent) |
Writes the Parent and Children components from the ChildOf relation, for entity and the parents it left and joined. | |
| bool | esengine::ecs::setParent (Registry ®istry, Entity child, Entity newParent) |
| void | esengine::ecs::applySceneEntityOrder (Registry ®istry, const Entity *order, usize count) |
| Applies a scene's authored entity order to the whole world. | |
| Entity | esengine::ecs::getRoot (Registry ®istry, Entity entity) |
| void | esengine::ecs::destroyWithChildren (Registry ®istry, Entity entity) |
System for computing hierarchical world transforms.
Computes world-space position/rotation/scale from local transform fields, respecting parent-child hierarchy.
Definition in file TransformSystem.hpp.