Flecs: ecs_tree_spawner_child_t 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
ecs_tree_spawner_child_t Struct Reference
C API » Core » API types » Built-in component types.

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 1625 of file flecs.h.

## Member Data Documentation

## ◆ child

uint32_t ecs_tree_spawner_child_t::child

Prefab child entity (without generation).

Definition at line 1628 of file flecs.h.

## ◆ child_name

const char* ecs_tree_spawner_child_t::child_name

Name of the prefab child.

Definition at line 1626 of file flecs.h.

## ◆ parent_index

int32_t ecs_tree_spawner_child_t::parent_index

Index into the children vector.

Definition at line 1629 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 1627 of file flecs.h.

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

- include/flecs.h