Skip to content
Docs
Open Promoeyes

primitive

scenesset 11323× in templates and rigs

A mesh made of a `geometry` and a `material`: the basic building block of a 3D set.

primitive#s01-col0(position="-1500 0 2400")

Attributes

position"x y z"11109×
cast_shadowtrue / false4566×
rotation"x y z"4209×
receive_shadowtrue / false774×
scalenumber"x y z"498×
parenttexte.g. roomheros05-floor458×
matchtexte.g. landm3m8414×
look_at"x y z"textTurns 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.141×
up"x y z"textWith `look_at`: the world direction kept as the node's up, `x y z` (default `0 1 0`).135×
morphtexte.g. extrudeparticlesoutline121×
idtext83×
morph-spreadnumber46×
morph-countnumber38×
morph-sizenumber31×
morph-colorcolour #rrggbb27×
renderOrdernumber24×
morph-atnumber20×
morph-durnumber20×
morph-totexte.g. f3-cardf3-avatarf3-toggle20×
morph-staggernumber16×
morph-seednumber6×
opacitynumber3×
morph-blendtexte.g. normal1×
visibletrue / false0×

Where it goes

Examples

primitive#s01-col0in abstract/rollingOpen and play →
primitive#s01-col0(position="-1500 0 2400")
  geometry(type=rounded-box width=260 height=3600 depth=260 radius=20 segments=4)
  material(ref=slate)
primitive#s01-col1in abstract/rollingOpen and play →
primitive#s01-col1(position="1500 0 1200")
  geometry(type=rounded-box width=260 height=3600 depth=260 radius=20 segments=4)
  material(ref=slate)
primitive#s01-col2in abstract/rollingOpen and play →
primitive#s01-col2(position="-1400 0 -800")
  geometry(type=rounded-box width=260 height=3600 depth=260 radius=20 segments=4)
  material(ref=slate)

Used in

Templates that write primitive; each opens at its first use.