![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Script world mixin. More...
Go to the source code of this file.
Functions | |
| int | script_run (const char *name, const char *str) const |
| Run script. | |
| int | script_run_file (const char *filename) const |
| Run script from file. | |
| script_builder | script (const char *name=nullptr) const |
| Build script. | |
| flecs::string | to_expr (flecs::entity_t tid, const void *value) |
| Convert value to string. | |
| template<typename T > | |
| flecs::string | to_expr (const T *value) |
| Convert value to string. | |
| template<typename T > | |
| T | get_const_var (const char *name, const T &default_value={}) const |
| Get value of exported script variable. | |
| template<typename T > | |
| void | get_const_var (const char *name, T &out, const T &default_value={}) const |
| Get value of exported script variable. | |
Script world mixin.
Definition in file mixin.inl.