Lists cameras attached to a `ray_scene`.

list_cameras(scene)

Arguments

scene

Scene containing cameras.

Value

A data frame with one row per camera.

Examples

scene = generate_ground(material=diffuse(color="grey20")) |>
  add_camera(camera(name = "wide", fov = 55, filename = "wide.png")) |>
  add_camera(camera(name = "detail", fov = 20, filename = "detail.png"))

list_cameras(scene)
#>     name frames animated shutter_speed   filename active
#> 1   wide      1    FALSE             2   wide.png  FALSE
#> 2 detail      1    FALSE             2 detail.png   TRUE