Struct ScenePartSpec#

Struct Documentation#

struct ScenePartSpec#

Info to create and initialize a ScenePart.

Public Members

std::string name = "unnamed"#

name of the part

VarStaticGeometry geometry = defaultGeometry()#

geometry of the part

VarMaterial material = defaultMaterial()#

material of the part

Karana::Math::HomTran transform = {}#

relative position and rotation of the part

Karana::Math::Vec3 scale = {1, 1, 1}#

relative scale of the part

Karana::Scene::layer_t layers = LAYER_PHYSICAL#

bitmask for which layers the part belongs to