title3d
A module script.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2preseed/title3d.module — extruded 3D text entities for demo titles. Tessellates a string with `font.textMesh` (true glyph outlines, extruded), centers it, uploads it as a GPU mesh and attaches it to a fresh entity with a PBR material. Returns the entity id and the material handle so callers can animate emissive strength.
center(positions: ?) → void
Center flat-array positions on X/Y (layout starts at the origin and runs left-to-right; centering puts the entity origin mid-string).
| arg | type | description |
|---|---|---|
| positions | ? |
spawn(opts: ?) → void
opts: { text, font?, size?, depth?, pos?, rot?, name?, color?, metallic?, roughness?, emissiveColor?, emissive?, castsShadows? } → id, materialHandle, width, height (nil when the font is missing)
| arg | type | description |
|---|---|---|
| opts | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ 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".
Scoped to this part · feeds back into the world's score.