Attach aframer and arframer dependency, primitives and embed.

arframer_dependency(cdn = FALSE)

ar_scene(
  ...,
  cdn = FALSE,
  arjs = aframer::opts_aframe(debugUIEnabled = "false")
)

embed_arframer(ar)

ar_marker_camera(...)

ar_marker(...)

a_marker_camera(...)

Arguments

cdn

Wether to use local of CDN for source files.

...

Any aframer element or option.

arjs

AR.js options.

ar

And arframer scene.

Examples

# use the primitive ar_scene()
#> <a-scene arjs="debugUIEnabled: false;"></a-scene>
# OR library(aframer) a_scene( a_dependency(), # aframe dependency arframer_dependency(), # arframer dependency arjs = NA )
#> <a-scene arjs></a-scene>