Skip to main content

Scene.save_snapshot(path, width=None, height=None, draw_background=False)

Create a snapshot of the scene.
  • Parameters:
    • path: File path.
    • width: Width in pixels of the snapshot.
    • height: Height in pixels of the snapshot.
    • draw_background: Boolean for whether to draw the background. If False, the background is white.