Function ecs_get_symbol

Synopsis

#include <include/flecs.h>

FLECS_API const char * ecs_get_symbol(const ecs_world_t *world, ecs_entity_t entity)

Description

Get the symbol of an entity. This will return the name as specified in the EcsSymbol component.

Parameters

world - The world.

entity - The entity.

Returns
The type of the entity, NULL if the entity has no name.

Source

Line 1892 in include/flecs.h.