shared_setup_scene: Sets up the canvas, camera/cursor, and metadata for the...

Description Usage Arguments Value Examples

View source: R/shared_setup_scene.R

Description

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

Usage

1
shared_setup_scene(module, module_type)

Arguments

module

String "2d" || "3d"

module_type

String "training" || "testing"

Value

A-Frame entity scene

Examples

1
2
3
4
shared_setup_scene("2d", "training")
shared_setup_scene("2d", "testing")
shared_setup_scene("3d", "training")
shared_setup_scene("3d", "testing")

MilesMcBain/r2vr documentation built on March 29, 2021, 12:03 p.m.