![]() |
Gaia-ECS v0.9.3
A simple and powerful entity component system
|
User-provided query input. More...
#include <query_common.h>
Public Attributes | |
| QueryOpKind | op = QueryOpKind::All |
| Operation to perform with the input. | |
| QueryAccess | access = QueryAccess::Read |
| Access type. | |
| Entity | id |
| Entity/Component/Pair to query. | |
| Entity | entSrc = EntityBad |
| Source entity to query the id on. If id==EntityBad the source is fixed. If id!=src the source is variable. | |
| Entity | entTrav = EntityBad |
| Optional traversal relation for source lookups. When set, the lookup starts at src and then walks relation targets upwards and/or downwards. | |
| QueryTravKind | travKind = QueryTravKind::Self | QueryTravKind::Up |
Source traversal filter. Self means checking the source itself, Up means checking traversed ancestors, Down means checking traversed descendants. | |
| uint8_t | travDepth = TravDepthUnlimited |
| Maximum number of traversal steps. 0 means unlimited traversal depth (bounded internally, at most MAX_TRAV_DEPTH steps). | |
| QueryMatchKind | matchKind = QueryMatchKind::Semantic |
Match semantics for terms with special meaning, such as Pair(Is, X). | |
Static Public Attributes | |
| static constexpr uint8_t | TravDepthUnlimited = 0 |
User-provided query input.