light_directional: Plot illumination

Description Usage Arguments Value

View source: R/scatterplot.R

Description

Plot illumination

Usage

1
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.


threejs documentation built on Jan. 21, 2020, 5:07 p.m.