Unravel Engine C++ Reference
Loading...
Searching...
No Matches
entity_inspect.h File Reference
#include <engine/ecs/scene.h>
#include <string>
#include <vector>

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::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).
 
auto unravel::collect_component_pretty_names (entt::handle entity) -> std::vector< std::string >
 Component pretty-names present on the entity (inspectable + Script).