Struct World::Actor

Nested Relationships

This struct is a nested type of Struct World.

Struct Documentation

struct Actor

Type for actors in the world.

Public Members

std::array<unsigned char, 16> guid

Actor GUID.

std::array<unsigned char, 16> parentGUID

GUID of parent actor or all zeroes if this is a top-level actor.

std::string name

Human-friendly actor name.

libjaguar::Vector<float, 3> initialPos

Initial position.

libjaguar::Vector<float, 4> initialRot

Initial rotation (as quaternion)

libjaguar::Vector<float, 3> initialScale

Initial scale.

std::vector<Component> components

Components mounted on this actor initially.

bool active

Whether the actor is initially active.