| cgv_camera | R Documentation |
Set Camera Position and Direction
cgv_camera(viewer, position = c(0, 0, 5), target = c(0, 0, 0), up = c(0, 1, 0))
viewer |
External pointer returned by |
position |
Numeric vector of length 3 (x, y, z). |
target |
Numeric vector of length 3 — look-at point. |
up |
Numeric vector of length 3 — up direction. |
No return value, called for side effects: updates the camera's
position, look-at target and up vector on the active panel. Returns
NULL invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.