pub unsafe extern "C" fn ecs_doc_get_name(
world: *const ecs_world_t,
entity: ecs_entity_t,
) -> *const c_charExpand description
Get human readable name from entity. If entity does not have an explicit human readable name, this operation will return the entity name.
To test if an entity has a human readable name, use: ecs_has_pair(world, e, ecs_id(EcsDescription), EcsName); Or in C++: e.hasflecs::Description(flecs::Name);
@param world The world. @param entity The entity from which to get the name. @return The name.