ecs_is_enabled_id

Function ecs_is_enabled_id 

Source
pub unsafe extern "C" fn ecs_is_enabled_id(
    world: *const ecs_world_t,
    entity: ecs_entity_t,
    id: ecs_id_t,
) -> bool
Expand description

Test if component is enabled. Test whether a component is currently enabled or disabled. This operation will return true when the entity has the component and if it has not been disabled by ecs_enable_component.

@param world The world. @param entity The entity. @param id The component. @return True if the component is enabled, otherwise false.