ReferenceScript nodesRendering
Set Camera Orbit
Turns a 3D layer's camera round and up, over some seconds.
ƒSet Camera OrbitTarget is Layer
LayerLayer
Orbit0
Height16
Seconds1
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Layerlayer | layer | – | – |
Orbitorbit | number | 0 | – |
Heightheight | number | 16 | – |
Secondsseconds | number | 1 | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
// On Scene Start(function (c) { c.setOrbit(0, 1); c.setHeight(16, 1); })(scene.camera(""));In a graph
◆On Scene Start
ƒSet Camera OrbitTarget is Layer
LayerLayer
Orbit0
Height16
Seconds1
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.