% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/camera.R
\name{cgv_camera_mode}
\alias{cgv_camera_mode}
\title{Switch Camera Mode}
\usage{
cgv_camera_mode(viewer, mode = c("fly", "orbit"))
}
\arguments{
\item{viewer}{External pointer returned by \code{cgv_viewer}.}

\item{mode}{Character: \code{"fly"} (WASD + mouse) or \code{"orbit"}
(rotate around target with Shift+drag, scroll zoom).}
}
\value{
No return value, called for side effects: switches the active
  camera between fly and orbit interaction modes. Returns \code{NULL}
  invisibly.
}
\description{
Switch Camera Mode
}
