Skip to content
Flecs v4.2
EcsValue Struct Reference

Component added to value type entities. More...

#include <meta.h>

Public Attributes

ecs_entity_t type
 Type constraint (optional).

Detailed Description

Component added to value type entities.

A value type stores a value of a dynamic type. If type is set, the value type only accepts values of that type. If the type is a struct, the value type also accepts values of structs that derive from it.

Definition at line 347 of file meta.h.

Member Data Documentation

◆ type

ecs_entity_t EcsValue::type

Type constraint (optional).

Definition at line 348 of file meta.h.


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