vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::PrefabInstance Struct Reference

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.

Detailed Description

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.


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