light_directional: Plot illumination

View source: R/scatterplot.R

light_directionalR Documentation

Plot illumination

Description

Plot illumination

Usage

light_directional(color = "#eeeeee", position = c(0, 0, 0))

Arguments

color

the light color

position

the light position as an (x, y, z) coordinate vector with entries in [-1, 1]

Value

An object for use with the lights argument in scatterplot3js and graphjs.


bwlewis/rthreejs documentation built on Aug. 22, 2022, 1:30 p.m.