Builtin Library
README.md
proc.ops.scene
The ops a graph reads the scene through. scene.query answers entity ids: by name, by a component they carry, as the children, descendants or parent of other entities, or the camera the scene is seen through. scene.fetch turns ids into points, one per entity, carrying what the op is asked for: the entity's pose as P, orient and scale, and any component as an attribute named after it holding the component's record. scene.input is a fetch of the entity the graph stands on, and scene.water answers every water surface the scene's water systems provide, as a graph value. A pose is brought into the graph's own space, whose origin is the entity the graph stands on, unless the op is asked for the world's. idsOf, query, fetch and standing are the same reads as module functions.
ops() returns the family as a map of op id to op def; procPacks/scene.procPack registers it. A graph calls one of its ops as g.op.<id>({ ... }) and a script as proc.ops.<family>.<op>(...); the procgen toolbox's describeNode answers each in full.
Ops: scene.fetch, scene.input, scene.query, scene.water.
Part of @builtin::systems.procgen.proc; required as @builtin::systems.procgen.proc.ops.scene.