class_docstr: Scenes hold Assets and are the main interface used by Views (such as Renderers).
  
  Each scene has global properties:
    * frame_start
    * frame_end
    * frame_rate
    * step_rate
    * resolution  (width, height)
    * gravity
    * camera
    * global_illumination
    * background
  
  The scene also links to views such as the simulator or the renderer.
  Whenever an Asset is added via `scene.add(asset)` it is also added to all
  linked views.
class_docstr_tok: ["Scenes","hold","Assets","and","are","the","main","interface","used","by","Views","(","such","as","Renderers",")",".","Each","scene","has","global","properties",":","*","frame_start","*","frame_end","*","frame_rate","*","step_rate","*","resolution","(","width",",","height",")","*","gravity","*","camera","*","global_illumination","*","background","The","scene","also","links","to","views","such","as","the","simulator","or","the","renderer",".","Whenever","an","Asset","is","added","via","`","scene.add","(","asset",")","`","it","is","also","added","to","all","linked","views","."]
code: def __init__(
      self,
      frame_start: int = 1,
      frame_end: int = 48,
      frame_rate: int = 24,
      step_rate: int = 240,
      resolution: Tuple[int, int] = (512, 512),
      gravity: Tuple[float, float, float] = (0, 0, -10.0),
      camera: Camera = UndefinedCamera(),
      ambient_illumination: color.Color = color.get_color("black"),
      background: color.Color = color.get_color("black"),
  ):
      self._assets = []
      self._views = []
      self.metadata = {}
      super().__init__(
          frame_start=frame_start,
          frame_end=frame_end,
          frame_rate=frame_rate,
          step_rate=step_rate,
          resolution=resolution,
          gravity=gravity,
          camera=camera,
          ambient_illumination=ambient_illumination,
          background=background,
      )
  
imports: from typing import Tuple, Union, List
  import traitlets
  import kubric
  from kubric.utils import next_global_count
  from kubric.core import color
  from kubric.core import traits
  from kubric.core.assets import Asset
  from kubric.core.assets import UndefinedAsset
  from kubric.core.cameras import Camera
  from kubric.core.cameras import UndefinedCamera
  from kubric.core.objects import Object3D
label_desc: Use image node_id 1 to create a new Scene object from inherited base classes: tl with example: obj = Scene(frame_start, frame_end, frame_rate, step_rate, resolution, gravity, camera, ambient_illumination, background)