Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
constraint_traits.h File Reference

Constraint traits addon. More...

Go to the source code of this file.

Variables

FLECS_API const ecs_entity_t EcsFinal
 Ensure that an entity or component cannot be used as a target in an IsA relationship.
 
FLECS_API const ecs_entity_t EcsSymmetric
 Mark relationship as commutative.
 
FLECS_API const ecs_entity_t EcsAcyclic
 Mark a relationship as acyclic.
 
FLECS_API const ecs_entity_t EcsOneOf
 Ensure that a relationship target is a child of the specified entity.
 
FLECS_API const ecs_entity_t EcsTrait
 Can be added to components to indicate it is a trait.
 
FLECS_API const ecs_entity_t EcsRelationship
 Ensure that an entity is always used in a pair as a relationship.
 
FLECS_API const ecs_entity_t EcsTarget
 Ensure that an entity is always used in a pair as a target.
 
FLECS_API const ecs_entity_t EcsSingleton
 Mark component as singleton.
 

Detailed Description

Constraint traits addon.

Definition in file constraint_traits.h.