proc.module
- ..
- .metadata17 B
- README.md1.0 KB
- attribute.module
- bevel.module
- boolean.module
- curves.module
- decimate.module
- entity.module
- extrude.module
- field.module
- geometry.module
- groups.module
- init.luau1.2 KB
- instances.module
- normals.module
- points.module
- prefabs.module
- scene.module
- sdf.module
- sim.module
- sinks.module
- sources.module
- subdivide.module
- sweep.module
- textures.module
- topology.module
This package holds more than this page lists. See all of its files in its world.
README.md
proc.ops (op families)
The op families procgen's own ops are defined in. Each family module exposes ops(deps...), the map of op id to op
def that a .procPack returns; the packs under procgen.package/procPacks/ register them, the same asset any author
outside this package contributes a family through. This index re-exports the family modules by name (sources,
geometry, normals, subdivide, extrude, bevel, sweep, boolean, decimate, sdf, groups, attribute,
topology, curves, field, points, instances, prefabs, entity, scene, textures, sinks, sim), so a
family is reached without knowing which folder it sits in.
local families = require("@builtin::systems.procgen.proc.ops")
local defs = families.sources.ops(proc.geometry) -- { ["mesh.box"] = def, ... }
Calling a registered op is a different surface: proc.ops.<family>.<op>(...) on the top-level proc module, and
g.op.<id>({ ... }) inside a graph.
Part of @builtin::systems.procgen.proc.