Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
Rules

Rules are an advanced query engine for matching against entity graphs. More...

Classes

struct  flecs::rule_builder< Components >
 Rule builder. More...
 
struct  flecs::rule< Components >
 

Functions

iter_iterable< Components... > & flecs::iter::set_var (int var_id, flecs::entity_t value)
 
template<typename... Comps, typename... Args>
flecs::rule< Comps... > flecs::world::rule (Args &&... args) const
 Create a rule. More...
 

Detailed Description

Rules are an advanced query engine for matching against entity graphs.

Function Documentation

◆ rule()

template<typename... Comps, typename... Args>
flecs::rule< Comps... > rule ( Args &&...  args) const

Create a rule.

See also
ecs_rule_init

◆ set_var()

iter_iterable< Components... > & set_var ( int  var_id,
flecs::entity_t  value 
)

Definition at line 11 of file iterable.inl.