File: light_directional.Rd

package info (click to toggle)
r-cran-threejs 0.3.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,884 kB
  • sloc: javascript: 28,121; sh: 17; makefile: 12
file content (19 lines) | stat: -rw-r--r-- 517 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scatterplot.R
\name{light_directional}
\alias{light_directional}
\title{Plot illumination}
\usage{
light_directional(color = "#eeeeee", position = c(0, 0, 0))
}
\arguments{
\item{color}{the light color}

\item{position}{the light position as an (x, y, z) coordinate vector with entries in [-1, 1]}
}
\value{
An object for use with the \code{lights} argument in \code{scatterplot3js} and \code{graphjs}.
}
\description{
Plot illumination
}