Get the collection of all layers registered with the engine.
The layer "list" is really an unordered dictionary of all registered
layers, keyed by each layer's stringified GUID. Given a Layer object,
you can get its key with layer.id.toString(). This list includes layers
that have been registered for all engine rendering modes, while only one
rendering mode is currently active at a time. So there are inevitably
layers in the collection that are not currently being rendered.
Get the collection of all layers registered with the engine.
The layer "list" is really an unordered dictionary of all registered layers, keyed by each layer's stringified GUID. Given a Layer object, you can get its key with
layer.id.toString()
. This list includes layers that have been registered for all engine rendering modes, while only one rendering mode is currently active at a time. So there are inevitably layers in the collection that are not currently being rendered.