Motion
Get Motion

ReferenceLayers3D

3D scene

Shapes and models in real 3D, with lights and shadows.

Kind
Layer · 3D
Script name
threed
Cost to draw
Very heavy
The 3D scene layer with its default settings
The 3D scene layer with its default settings.

Objects and lights

SettingKindStarts atRange and notes
In the sceneitems3D items[{"kind": "ground", "name": "Ground"}, {"kind": "sphere", "n–

Camera

SettingKindStarts atRange and notes
Field of viewfovnumber45°10 to 120°
Distancedistancenumber9 m1 to 80 m
Heightheightnumber16°-80 to 89°
Aroundorbitnumber0°-180 to 180°
Goes roundautoRotatenumber4°/s-60 to 60°/s
Looks at the heighttargetYnumber1 m-10 to 20 m
Leans to the pointerleannumber35%0% to 100%

Light and air

SettingKindStarts atRange and notes
BackgroundbackgroundchoiceClearClear, ColourClear shows the layers under it
Background colourbackgroundColourcolour#08090a–
Ambient lightambientcolour#caecff–
Ambient amountambientAmountnumber12%0% to 100%Keeps shadows from going black
Fogfognumber30%0% to 100%
Fog colourfogColourcolour#0b1a22–
Bloombloomnumber50%0% to 200%
Tone mappingtonemapchoiceFilmicNone, Filmic, ACES, Hejl
Exposureexposurenumber1×0.2 to 3×

From a script

Every setting above can be changed by the scene's logic, by its key. Say the layer is called 3D scene:

scene.set("3D scene", "fov", 120);scene.animate("3D scene", "opacity", 0.5, 2);

Used in

The example scenes with a 3D scene layer in them. Each picture is the whole scene, not the layer alone: open one to see what the layer does in it.

What every layer has

Besides its own settings, every layer has its opacity, blend, placement, quick effects and an effects stack. They're listed once, on the layers page.