Class: BasicScript

BasicScript(world, vrObject)

Basic script object. Scripts are loaded and instantiated when server demands it. Experimental, most likely to change a lot, more towards IOC.

Constructor

new BasicScript(world, vrObject)

Parameters:
Name Type Description
world the World this script runs in, contains babylon scene, WorldManager and everything else
vrObject VRObject added tot he scene..
Source:

Classes

BasicScript

Methods

init()

Supposed to create a visible object and return root node
Source:

remoteChange()

Executed when a remote change is triggerred. Changes have been already applied to the object.
Source: