Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
EcsDefaultChildComponent Struct Reference

When added to an entity this informs serialization formats which component to use when a value is assigned to an entity without specifying the component. More...

#include <flecs.h>

Public Attributes

ecs_id_t component
 Default component id.
 

Detailed Description

When added to an entity this informs serialization formats which component to use when a value is assigned to an entity without specifying the component.

This is intended as a hint, serialization formats are not required to use it. Adding this component does not change the behavior of core ECS operations.

Definition at line 1456 of file flecs.h.

Member Data Documentation

◆ component

ecs_id_t EcsDefaultChildComponent::component

Default component id.

Definition at line 1457 of file flecs.h.


The documentation for this struct was generated from the following file: