|
Unravel Engine C++ Reference
|
#include "entity_inspect.h"#include <engine/ecs/components/id_component.h>#include <engine/ecs/components/tag_component.h>#include <engine/ecs/components/transform_component.h>#include <engine/meta/ecs/components/all_components.h>#include <engine/meta/ecs/entity.hpp>#include <engine/scripting/ecs/components/script_component.h>#include <hpp/utility.hpp>#include <math/math.h>#include <uuid/uuid.h>#include <logging/logging.h>#include <sstream>Go to the source code of this file.
Namespaces | |
| namespace | unravel |
Functions | |
| auto | unravel::find_entity_by_id (scene &scn, const std::string &id) -> entt::handle |
| Resolve an entity by UUID string or integral entt id. | |
| auto | unravel::entity_id_string (entt::handle entity) -> std::string |
| Stable id string for MCP/editor tooling (UUID preferred). | |
| auto | unravel::collect_component_pretty_names (entt::handle entity) -> std::vector< std::string > |
| Component pretty-names present on the entity (inspectable + Script). | |
| auto | unravel::entity_to_summary_json (entt::handle entity, int depth=0, int max_depth=0) -> std::string |
| JSON summary: transform, component pretty-names, optional children. | |
| auto | unravel::entity_components_serialized (entt::handle entity) -> std::string |
| Full associative serialization of serializeable components (scene-file format). | |