Skip to content
Flecs v4.1
ecs_tree_spawner_child_t Struct Reference

Component with data to instantiate a non-fragmenting tree. More...

#include <flecs.h>

Public Attributes

const char * child_name
 Name of the prefab child.
ecs_table_t * table
 Table in which the child will be stored.
uint32_t child
 Prefab child entity (without generation).
int32_t parent_index
 Index into the children vector.

Detailed Description

Component with data to instantiate a non-fragmenting tree.

Definition at line 1636 of file flecs.h.

Member Data Documentation

◆ child

uint32_t ecs_tree_spawner_child_t::child

Prefab child entity (without generation).

Definition at line 1639 of file flecs.h.

◆ child_name

const char* ecs_tree_spawner_child_t::child_name

Name of the prefab child.

Definition at line 1637 of file flecs.h.

◆ parent_index

int32_t ecs_tree_spawner_child_t::parent_index

Index into the children vector.

Definition at line 1640 of file flecs.h.

◆ table

ecs_table_t* ecs_tree_spawner_child_t::table

Table in which the child will be stored.

Definition at line 1638 of file flecs.h.


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