Struct World

Nested Relationships

Nested Types

Struct Documentation

struct World

Representation of a world resource.

Public Members

std::string skybox

Skybox resource address.

libjaguar::Vector<float, 4> initialSkyRot

Initial skybox rotation (as quaternion)

libjaguar::Vector<float, 3> initialCamPos

Initial camera position.

libjaguar::Vector<float, 4> initialCamRot

Initial camera rotation (as quaternion)

bool camOrthographic

Whether the camera is orthographic (true) or perspective (false)

libjaguar::Vector<uint8_t, 3> camClearColor

Camera clear color (0x00 - 0xFF hex codes per component)

std::vector<Actor> actors

All actors in the world.

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.

struct Component

Type for components on actors.

Public Members

std::string typeID

Component type ID.

bool enabled

Whether the component is enabled by default.

std::vector<unsigned char> reflection

Jaguar-encoded component reflection data (for use with Astra)