README
R3 Space Engine Controller
This module allows access to the R3 Space Engine by implementing it's socket API in NodeJS and providing easy access to its funcionalities for nodejs developers.
The module is in typescript and is transpiled to ES6 so the --experimental-modules flag is required for proper loading of the module
import { R3SpaceEngine } from 'wtv-r3-space-engine'
async function doDemo() {
let r3 = new R3SpaceEngine('localhost', 9001)
r3.setDebug(true) // turn this off when done debugging
await r3.connect()
scene = await r3.loadScene('SampleProject', 'SampleScene')
scene.setExport('tText', 'Hello World')
scene.takeOnline()
scene.playTimeline('In')
}
doDemo()