Flecs: ecs_script_desc_t Struct Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
ecs_script_desc_t Struct Reference
C API » Addons » Flecs script

Used with ecs_script_init(). More...

`#include <script.h>`

## Public Attributes
ecs_entity_t | entity
| Set to customize entity handle associated with script.
const char * | filename
| Set to load script from file.
const char * | code
| Set to parse script from string.

## Detailed Description

Used with ecs_script_init().

Definition at line 336 of file script.h.

## Member Data Documentation

## ◆ code

const char* ecs_script_desc_t::code

Set to parse script from string.

Definition at line 339 of file script.h.

## ◆ entity

ecs_entity_t ecs_script_desc_t::entity

Set to customize entity handle associated with script.

Definition at line 337 of file script.h.

## ◆ filename

const char* ecs_script_desc_t::filename

Set to load script from file.

Definition at line 338 of file script.h.

The documentation for this struct was generated from the following file:

- include/flecs/addons/script.h