Log inGet started
What it does

frame_shape

The shape of the frame the viewport draws, for a suite whose fixture or whose reading depends on it.

The frame is the rect the engine draws the scene into: the headless framebuffer a native engine was started at, the browser window on the web, and whatever the editor's panels leave of either. So a case that works out what to read, or how big to make what it reads, from the frame as it was drawn holds at every shape, and one that wrote either down for one shape reads a different part of the scene at another.

frameHalfExtent sizes a fixture to fill the frame at a distance. frameMatchesSceneRect answers whether the frame was drawn at the scene rect's current shape yet, which is the point to take a reading from after a resize. widenTheSceneRect draws the scene rect at a wide short shape for as long as a case needs it, finding the surface height that gives that shape under whatever editor layout is up, and hands back what puts the surface back.

local FrameShape = require("@builtin::tests.fixtures.frame_shape")

Test.it("the claim holds in a wide short frame", function(t)
    local putBack = FrameShape.widenTheSceneRect()
    Test.waitUntil(function() return FrameShape.frameMatchesSceneRect() end, 240)
    -- … the same claim the case at the engine's own shape makes …
    putBack()
end)

To read a place in the frame rather than fill it, pair this with the frame probe: tests.fixtures.fx_probe turns a world point into the tile of its grid the point is drawn in, from the view the frame was drawn under.

Interface

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

This asset doesn't declare a schema or structured payload.

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

0items
This part has no composite children. See the Files segment for its leaf payloads.
This part has no leaf payloads.

Problems

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

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.