| remove_camera | R Documentation |
Removes a camera from a 'ray_scene'.
remove_camera(scene, camera)
scene |
Scene containing cameras. |
camera |
Camera name. |
A modified 'ray_scene'.
scene = generate_ground(material=diffuse(color="grey20")) |>
add_camera(camera(name = "wide"), active = FALSE) |>
add_camera(camera(name = "detail"), active = TRUE)
scene = remove_camera(scene, "detail")
list_cameras(scene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.