Flecs: EcsDefaultChildComponent Struct Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
EcsDefaultChildComponent Struct Reference
C API » Core » API types » Builtin component types.

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 1552 of file flecs.h.

## Member Data Documentation

## ◆ component

ecs_id_t EcsDefaultChildComponent::component

Default component id.

Definition at line 1553 of file flecs.h.

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

- include/flecs.h