% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rayshader.R
\name{camera_preset_to_position}
\alias{camera_preset_to_position}
\title{Map camera preset name to position vector}
\usage{
camera_preset_to_position(preset)
}
\arguments{
\item{preset}{Character string naming the camera preset.}
}
\value{
Numeric vector of length 3 (x, y, z).
}
\description{
Converts a camera preset string to an xyz position vector matching
the same presets used in the Three.js viewer.
}
\keyword{internal}
