Struct EcsTrigger

Synopsis

#include <include/flecs.h>

typedef struct EcsTrigger

Description

Component used for registering component triggers

Source

Lines 213-219 in include/flecs.h.

typedef struct EcsTrigger {
    ecs_entity_t kind;
    ecs_iter_action_t action;
    ecs_entity_t component;
    ecs_entity_t self;
    void *ctx;
} EcsTrigger;