Struct ScenePartSpec#

Struct Documentation#

struct ScenePartSpec#

Info to create and initialize a ScenePart.

Public Members

std::string name#

name of the part

VarStaticGeometry geometry#

geometry of the part

VarMaterial material#

material of the part

Karana::Math::HomTran transform#

relative position and rotation of the part

Karana::Math::Vec3 scale#

relative scale of the part

Karana::Scene::layer_t layers = LAYER_PHYSICAL#

bitmask for which layers the part belongs to