m_add_outline: Add colored outline to all objects in scene.

Description Usage Arguments Examples

View source: R/add.R

Description

Adds a colored outline to all objects in the scene, helping the viewer to distinguish depth in often complex molecular scenes.

Usage

1
m_add_outline(id, width = 0.1, color = "black")

Arguments

id

R3dmol id or a r3dmol object (the output from r3dmol())

width

Width of the outline, defaults to 0.1

color

Color of the outline, defaults to black.

Examples

1
2
3
4
5
6

r3dmol documentation built on March 14, 2021, 5:08 p.m.