Function ecs_lookup_symbol

Synopsis

#include <include/flecs.h>

FLECS_API ecs_entity_t ecs_lookup_symbol(const ecs_world_t *world, const char *symbol, bool lookup_as_path)

Description

Lookup an entity by its symbol name. This looks up an entity by the symbol name that was provided in EcsName. The operation does not take into account scoping, which means it will search all entities that have an EcsName.

This operation can be useful to resolve, for example, a type by its C identifier, which does not include the Flecs namespacing.

Source

Line 2122 in include/flecs.h.