World data, encapsulating list of assets and components used as well as initial world state.
Public Members
-
std::string skyboxRef
Skybox reference path.
-
Vec3<float> initialCamPos
Initial camera position.
-
Vec3<float> initialCamRot
Initial camera rotation.
-
std::vector<Actor> entities
Entities in the world.
-
struct Actor
Type for entities in the world.
Public Members
-
xg::Guid guid
Actor GUID.
-
xg::Guid parentGUID
GUID of parent actor or all zeroes if this is a top-level actor.
-
std::string name
Human-friendly actor name.
-
Vec3<float> initialPos
Initial position.
-
Vec3<float> initialRot
Initial rotation.
-
Vec3<float> initialScale
Initial scale.
-
std::vector<Component> components
Components mounted on this actor initially.
-
struct Component
Type for components on entities.
Public Members
-
std::string typeID
ID of component type to instantiate.
-
std::string reflection
YAML-encoded component reflection data (for use with Silica)