Classes
Members
_isLoaded
    Internal, set by WorldManager after the mesh/script has loaded.
- Source:
active :boolean
    Active i.e. online users
    Type:
- boolean
- Source:
animation :string|null
    Name of the animation that is currently active
    Type:
- string | null
- Source:
className :string
    Server-side class name
    Type:
- string
- Source:
id :string
    Id, equal on server and all instances
    Type:
- string
- Source:
listeners
    Event listeners. Typically world manager listens to changes, and moves objects around.
- Source:
loadListeners
    Load listeners, functions that trigger after the mesh or script is loaded. Managed by WorldManager. CHECKME SoC
- Source:
mesh :string|null
    URL of 3D mesh
    Type:
- string | null
- Source:
permanent :boolean
    Default false, permanent objects remain in the scene forever
    Type:
- boolean
- Source:
position :Point
    Position, Point
    Type:
- Source:
properties :Object
    Custom properties of an object - shared transient object
    Type:
- Object
- Source:
rotation :Rotation|null
    Rotation
    Type:
- Rotation | null
- Source:
scale :Point|null
    Scale, Point
    Type:
- Point | null
- Source:
script :string|null
    URL of dynamically loaded script
    Type:
- string | null
- Source:
temporary :boolean
    Everything created by guest client is by default temporary
    Type:
- boolean
- Source:
VRSPACE
    Handy reference to VRSpace instance
- Source:
Methods
addListener()
    Add a change listener to the object.
- Source:
addLoadListener()
    Add a load listener function to the object. Triggers immediatelly if mesh/script has already loaded (_isLoaded is true).
- Source:
getID() → {ID}
    Returns ID of this VRObject
- Source:
Returns:
- Type
- ID
notifyListeners()
    Called when server sends notification that the object has changed. 
  Notifies all listeners of object and changes.
- Source:
notifyLoadListeners()
    Triggers all load listeners
- Source:
positionChanged()
    Executedwhile handling network event. Empty implementation, overridden by EventRouter.
- Source:
publish()
    Publish the object to the server. Can be used only on new objects.
- Source:
removeListener()
    Remove the listener.
- Source:
removeLoadListener()
    Remove a load listener.
- Source:
rotationChanged()
    Executedwhile handling network event. Empty implementation, overridden by EventRouter.
- Source:
scaleChanged()
    Executedwhile handling network event. Empty implementation, overridden by EventRouter.
- Source: