Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
EcsScriptFunction Struct Reference

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 123 of file script.h.

Member Data Documentation

◆ callback

ecs_function_callback_t EcsScriptFunction::callback

Definition at line 126 of file script.h.

◆ ctx

void* EcsScriptFunction::ctx

Definition at line 127 of file script.h.

◆ params

ecs_vec_t EcsScriptFunction::params

Definition at line 125 of file script.h.

◆ return_type

ecs_entity_t EcsScriptFunction::return_type

Definition at line 124 of file script.h.


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