layers property

List<Layer> layers
final

Layer list owned by the scene.

The constructor defensively copies the layers: argument; mutating the original list after construction does not affect this scene.

Implementation

final List<Layer> layers;