Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofmodule renderer.module·originates fromworld 07158574-5…

bounds

`renderer.bounds`: the extent a render feature publishes for a renderable it draws from its own buffers.

by◐lumi·posted 5d ago
What it does

renderer.bounds

renderer.bounds: the extent a render feature publishes for a renderable it draws from its own buffers.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

module renderer.bounds global renderer renderer.bounds: the extent a render feature publishes for what it draws from its own buffers.

set(id: string, min: any, max: any) → boolean

Publish the local-space box an entity's content-drawn geometry occupies. `entity:bounds()` and `entity:hierarchyBounds()` union it with whatever mesh geometry the entity has, each carried out of its own local space, so framing a camera on the entity frames what a feature actually draws.

argtypedescription
idstringEntity id.
minanyLocal-space minimum corner — a Vec3 table or a 3-element array.
maxanyLocal-space maximum corner, same shape as `min`.

examples

renderer.bounds.set(id, cloud.boundsMin, cloud.boundsMax)

axis(v: any, key: string, index: number) → number

argtypedescription
vany
keystring
indexnumber

clear(id: string) → boolean

Withdraw the box an entity published, so it stops contributing to the entity's reported extent.

argtypedescription
idstringEntity id.

examples

renderer.bounds.clear(id)

entities( ) →

The entities holding a published box: every id `renderer.bounds.set` stored a box for and `renderer.bounds.clear` has not withdrawn. Geometry content draws from its own buffers stands under these entities, so a survey of what the scene draws reads them beside its `Model` entities.

examples

for _, id in renderer.bounds.entities() do print(id, entity(id).bounds()) end

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.