Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit61a33237e0

README.md

renderLayer.list

What layers exist, who is on them, and which cameras draw them.

renderLayer.list()

Returns { layers, cameras }:

  • each layer is { name, bit, builtin, entities }, in bit order. default, ui, debug, sky and EditorUI are the seeded built-ins; everything else interned on first reference.
  • each camera is { id, name, renderLayers } — its name filter.

This is how a mistyped layer becomes visible. Referencing a layer name that does not exist creates it, so "shel" instead of "shell" produces a real, empty layer that renders nothing and reports no error. Listing shows the layer with no members.