Struct World::Actor

Nested Relationships

This struct is a nested type of Struct World.

Struct Documentation

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.