Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::detail::PrefabInstantiatePlanNode Struct Reference

One node in a prefab instantiation or synchronization plan. More...

#include <copy_scratch.h>

Public Attributes

Entity prefab = EntityBad
 Prefab entity represented by this node.
 
uint32_t parentIdx = BadIndex
 Parent node index in the plan, or BadIndex for a root node.
 
Entity parentRelation = EntityBad
 Hierarchy relation used to attach this node to its parent node.
 
ArchetypepDstArchetype = nullptr
 Destination archetype used for instances of prefab.
 
cnt::darray_ext< Entity, 16 > copiedSparseIds
 Non-fragmenting sparse component ids copied from prefab.
 
cnt::darray_ext< Entity, 16 > addedIds
 Component or pair ids added to instances of prefab.
 
cnt::darray_ext< Entity, 16 > addHookIds
 Archetype component or pair ids reported to add hooks and observers.
 

Detailed Description

One node in a prefab instantiation or synchronization plan.


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