Builtin Library
README.md
instances.place (procNode)
Place points by a transform record: its offset is added to P, its rotation is written as orient and its scale as scale. Without a transform the points stay where they are, with orient (0, 0, 0, 1) and scale (1, 1, 1) written on them. instances.on_points and instances.variants place their points with it.
Inputs
points(Points). The points placed: one placement per point, written on a copy.transform(Transform, optional). The per-point placement, a record ofoffset(Vec3),orient(Vec4 quaternion) andscale(Vec3), each a constant or a field.instances.randomize_transformmakes one.
Outputs
points(Points). The points carryingorientandscale.
local placed = g.instances.place({ points = g.points.grid({ countX = 3, countZ = 3 }), transform = g.instances.randomize_transform({ seed = 1 }) })