Function ecs_set_component_actions_w_id

Synopsis

#include <include/flecs.h>

FLECS_API void ecs_set_component_actions_w_id(ecs_world_t *world, ecs_id_t id, EcsComponentLifecycle *actions)

Description

Register ctor, dtor, copy & move actions for component.

Parameters

world - The world.

component - The component id for which to register the actions

actions - Type that contains the component actions.

Source

Line 565 in include/flecs.h.