Function ecs_role_str

Synopsis

#include <include/flecs.h>

FLECS_API const char * ecs_role_str(ecs_entity_t entity)

Description

Convert type role to string. This operation converts a type role to a string.

Parameters

world - The world.

entity - The entity containing the type role.

Returns
The type role string, or NULL if no type role is provided.

Source

Line 1686 in include/flecs.h.