Description Usage Arguments Value Examples
View source: R/shared_setup_scene.R
Sets up the canvas, camera/cursor, and metadata for the selected module and module type. Also renders USER and META DATA as invisible entities for the DOM to access data for network requests
1 | shared_setup_scene(module, module_type)
|
module |
String "2d" || "3d" |
module_type |
String "training" || "testing" |
A-Frame entity scene
1 2 3 4 | shared_setup_scene("2d", "training")
shared_setup_scene("2d", "testing")
shared_setup_scene("3d", "training")
shared_setup_scene("3d", "testing")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.