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

Function component. More...

`#include <script.h>`

## Public Attributes
ecs_entity_t | return_type
ecs_vec_t | params
ecs_function_callback_t | callback
void * | ctx

## Detailed Description

Function component.

This component describes a function that can be called from a script.

Definition at line 132 of file script.h.

## Member Data Documentation

## ◆ callback

ecs_function_callback_t EcsScriptFunction::callback

Definition at line 135 of file script.h.

## ◆ ctx

void* EcsScriptFunction::ctx

Definition at line 136 of file script.h.

## ◆ params

ecs_vec_t EcsScriptFunction::params

Definition at line 134 of file script.h.

## ◆ return_type

ecs_entity_t EcsScriptFunction::return_type

Definition at line 133 of file script.h.

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

- include/flecs/addons/script.h