layer
uisset 102× in templates and rigs
A scene node drawn by the layer adapter its `type` names (group, text, text3d, image, video, …). A `layer` with no `type` under `layers` is a stage-layer declaration instead: an `id` nodes can name and its `space`.
layer#cv12-logo(type=image src="../../../assets/code2videos-logo.png" width=128 height=128 align=center position="0 -132 34")
Attributes
spacetext`world` (the 3D scene, default) or `screen` (a HUD surface in the frame's pixels).64×z-indexnumber64×typetextThe adapter: group (an empty transform group to parent nodes to), text, text3d (extruded glyphs), image (`src`), video, …38×parenttexte.g. s17-drums16-turntables18-drum25×scalenumber17×position"x y z"13×aligntexte.g. center12×colorcolour #rrggbb11×lineHeightnumber11×paddingnumber11×sizenumber11×spacingnumber11×texttexte.g. TarnwellKnow where your water has been.ASTRA11×thicknessnumbertype=text3d: the extrusion depth, as a fraction of the font size (default 0.12).11×weightnumber11×worldHeightnumber11×pitchnumbertype=text3d: a pitch in degrees that shows the top or bottom walls (default 0).10×side_colorcolour #rrggbbtype=text3d: the colour of the side walls (default: a dimmed `color`).10×tiltnumbertype=text3d: a yaw in degrees that shows the side walls (default 0).10×bevelnumbertype=text3d: the rim bevel, as a fraction of the font size (default 0.03).7×rotation"x y z"4×heightnumber1×srctexte.g. ../../../assets/code2videos-logo.png1×widthnumber1×look_attextTurns the node every frame so its face (+z; a device's screen, a laptop's front) points at a target: a point `x y z` (mm, world), `#node-id` (that node, live) or `camera` (the lens, live). Its `rotation` and rotation keys are an offset on top of the aim.0×uptextWith `look_at`: the world direction kept as the node's up, `x y z` (default `0 1 0`).0×Where it goes
Examples
layer#cv12-logoin coverage/coverageOpen and play →layer#cv12-logo(type=image src="../../../assets/code2videos-logo.png" width=128 height=128 align=center position="0 -132 34")
motion(preset=logo.popSpin delay=1.9 in-end=2.5 pop-at=2.6 settle-end=3.1 hold-end=4.0 end=4.0 blur-in=9 blur-out=0 blur-end=2.6 rot-from="0 0 -180" rot-to="0 0 4" scale-from="0.15 0.15 1" scale-peak="1.18 1.18 1" scale-peak-at=2.6 scale-settle="1 1 1" scale-to="1 1 1")
layer#s12-phonein layouts/layoutsOpen and play →layer#s12-phone(type=group parent=s11-cloud rotation="0 29.999999999999996 0" scale=0.1)
word_cloud_item(rank=11 doc=11)
layer#s12-macin layouts/layoutsOpen and play →layer#s12-mac(type=group parent=s11-cloud scale=0.1)
word_cloud_item(rank=12 doc=12)