Flecs Get World Info
flecs_get_world_infoDescribe a connected FLECS world by returning its REST URL, build details, and live entity/table/query stats. Use it first to verify the server link.
Instructions
[READ] Describe the connected FLECS world; call it first to test the link.
Returns:
rest_url: the FLECS REST API this server talks to.
build_info: FLECS version, compiler, enabled addons and build flags (flecs.core.BuildInfo), or null if unavailable.
world_summary: live counters such as entity, table, component and query counts, frame count, fps, target fps, time scale and uptime (flecs.stats.WorldSummary), or null if the stats module is not imported.
notes: why a section is null, if any.
Fails if the FLECS REST API cannot be reached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| rest_url | Yes | ||
| build_info | Yes | ||
| world_summary | Yes |