setScale | R Documentation |
Set the scale factor for the representation
setScale(NGLVieweR, scale = 1)
NGLVieweR |
A NGLVieweR object. |
scale |
A numeric value indicating the scale factor (default is 1). |
Updated NGLVieweR
object with new scale parameter.
zoomMove()
setRotation()
setPosition()
Other transformations:
setPosition()
,
setRotation()
,
zoomMove()
NGLVieweR("7CID") %>%
addRepresentation("cartoon",
param=list(name="cartoon", colorValue="blue")) %>%
setScale(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.