Set aframe scene.

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:

  • 0.5.0

  • 0.6.0

  • 0.7.0

  • 0.8.0

  • 0.8.2

Examples

scene <- a_scene( a_dependency(), a_box( position = xyz_aframe(0, 1, 0), color = "blue" ) ) if(interactive()) browse_aframe(scene)