Script builder interface.
More...
#include <builder.hpp>
Script builder interface.
Definition at line 16 of file builder.hpp.
◆ script_builder()
| flecs::script_builder::script_builder |
( |
flecs::world_t * | world, |
|
|
const char * | name = nullptr ) |
|
inline |
Construct a script builder.
- Parameters
-
| world | The world. |
| name | Optional name for the script entity. |
Definition at line 21 of file builder.hpp.
◆ code()
◆ filename()
Set the script filename.
Definition at line 41 of file builder.hpp.
◆ run()
Run the script and return the script entity.
Definition at line 13 of file impl.hpp.
◆ desc_
◆ world_
The documentation for this struct was generated from the following files:
- include/flecs/addons/cpp/mixins/script/builder.hpp
- include/flecs/addons/cpp/mixins/script/impl.hpp