Add environment

a_environment(...)

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

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

Arguments

...

any aframer components.

version

Version to pass to a_scene.

cdn

Wether to use local of CDN for source files.

Details

Valid preset:

  • none

  • default

  • contact

  • egypt

  • checkboard

  • forest

  • goaland

  • goldmine

  • threetowers

  • poison

  • arches

  • tron

  • japan

  • dream

  • volcano

  • starry

  • osiris

  • yavapai

Note

Source a_dependency before aenvironment_dependency.

See also

Examples

library(aframer) browse_aframe( a_scene( a_dependency(), aenvironment_dependency(), a_environment( environment = aframer::opts_aframe( preset = "forest" ) ) ) )