ReferenceScripting APIMotionScenecamera
MotionScene.camera
methodA 3D layer's camera.
| Name | camera |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.camera(…) |
| As a node | Set Camera Orbit (logic graph) |
| Since | 0.4 |
Syntax
camera(layer: string): MotionCameraParameters
| Name | Type | Description |
|---|---|---|
layer | string | The 3D layer's name or id |
Returns
MotionCamera: its camera.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.