ObjectMaterialSource

ReferencesSince v5.0
Defines enumerated values for the source of material of single objects.

Enum values

NameValueDescription
MaterialFromLayer0use material assigned to layer.
MaterialFromObject1use material assigned to object.
MaterialFromParent3for objects with parents, like definition geometry in instance references and faces in polysurfaces, this value indicates the material definition should come from the parent. If the object does not have an obvious "parent", then treat it the same as material_from_layer.