Function ecs_get_type_info

Synopsis

#include <include/flecs.h>

FLECS_API const ecs_type_info_t * ecs_get_type_info(const ecs_world_t *world, ecs_id_t id)

Description

Get the type for an id. This function returnsthe type information for an id. The specified id can be any valid id. For the rules on how type information is determined based on id, see ecs_get_typeid.

Parameters

world - The world.

id - The id.

Returns
The type information of the id.

Source

Line 2294 in include/flecs.h.