Skip to content
Flecs v4.1
EcsScriptMutVar Struct Reference

Mut component. More...

#include <script.h>

Public Attributes

ecs_value_t value
const ecs_type_info_t * type_info

Detailed Description

Mut component.

This component describes a mutable global variable that can be used from scripts. Unlike a const variable, the value of a mut variable is never folded into expressions, and scripts that use it are reevaluated when it changes.

Definition at line 229 of file script.h.

Member Data Documentation

◆ type_info

const ecs_type_info_t* EcsScriptMutVar::type_info

Definition at line 231 of file script.h.

◆ value

ecs_value_t EcsScriptMutVar::value

Definition at line 230 of file script.h.


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