Layer

Overview

A Layer assigns scene objects (e.g. materials, volumes, lights, etc) to geometry objects or parts. For example:

Layer("/Scene/layer") {
    {AbcGeometry("geom1"), {""}, DwaRefractiveMaterial("glass_mat"), LightSet("lightset1")}
}

In this Layer, we only have 1 assignment. The DwaRefractiveMaterial “glass_mat” and the LightSet “lightset1” are both assigned to “geom1”.


Attribute Reference

General attributes

displacements

Displacement Vector
default: {}

No documentation available

geometries

SceneObjectIndexable
default: None

Geometry objects that are members of this TraceSet

lightfiltersets

LightFilterSet Vector
default: {}

No documentation available

lightsets

LightSet Vector
default: {}

No documentation available

parts

StringVector
default: {}

Part names (one for each geometry object)

shadowreceiversets

ShadowReceiverSet Vector
default: {}

No documentation available

shadowsets

ShadowSet Vector
default: {}

No documentation available

surface_shaders

Material Vector
default: {}

No documentation available

volume_shaders

Volume Vector
default: {}

No documentation available