![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
Marks an entity as the root of an instanced prefab. More...
#include <prefab_instance.h>
Public Attributes | |
| std::string | source |
| Prefab file path, e.g. "prefabs/lamp_post.json". | |
| std::vector< PrefabOverride > | overrides |
| Per-instance deltas. | |
Marks an entity as the root of an instanced prefab.
A scene saves the source, Transform and overrides and skips the subtree, which the loader rebuilds from the prefab. Only on the root; entities below carry PrefabEntity.