scene: Scene

Description Usage Arguments Details Examples

Description

Set aframe scene.

Usage

1
2
3
4
5
a_scene(...)

a_dependency(version = "0.8.2", cdn = FALSE)

a_dep(version = "0.8.2", cdn = FALSE)

Arguments

...

Any aframer element or parameter.

version

Version of aframe to source, see details.

cdn

Set to TRUE to use the CDN and FALSE to use local file.

Details

Available versions:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
scene <- a_scene(
  a_dependency(),
  a_box(
    position = xyz_aframe(0, 1, 0),
    color = "blue"
  )
)

if(interactive())
  browse_aframe(scene)

JohnCoene/aframer documentation built on March 10, 2020, 1:32 p.m.