Flecs: ecs_script_var_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_var_t Struct Reference
C API » Addons » Flecs script

Script variable. More...

`#include <script.h>`

## Public Attributes
const char * | name
| Variable name.
ecs_value_t | value
| Variable value.
const ecs_type_info_t * | type_info
| Type information.
int32_t | sp
| Stack pointer.
bool | is_const
| Whether the variable is constant.

## Detailed Description

Script variable.

Definition at line 64 of file script.h.

## Member Data Documentation

## ◆ is_const

bool ecs_script_var_t::is_const

Whether the variable is constant.

Definition at line 69 of file script.h.

## ◆ name

const char* ecs_script_var_t::name

Variable name.

Definition at line 65 of file script.h.

## ◆ sp

int32_t ecs_script_var_t::sp

Stack pointer.

Definition at line 68 of file script.h.

## ◆ type_info

const ecs_type_info_t* ecs_script_var_t::type_info

Type information.

Definition at line 67 of file script.h.

## ◆ value

ecs_value_t ecs_script_var_t::value

Variable value.

Definition at line 66 of file script.h.

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

- include/flecs/addons/script.h