dao::scene::Object

struct

One graphics object of the scene.

Declared in dao/Scene.h.

Functions

Find()

std::vector<const Node *> Find(Kind kind) const

Returns its nodes of a kind, anywhere in its tree, in the tree’s order.

Fields

Field Type  
address std::uintptr_t = 0 the engine’s object, for this frame only
model std::wstring_view its model’s name, with no extension; for this frame only
owner ObjectId = kInvalidObject the game object it draws (a creature, placeable, effect…), if any
place Vector where it is in the world
room std::optional<std::int32_t> the room whose own model it is, by its number, for a room’s model
root Node its tree of nodes
scale float = 1 its uniform scale