Module: model/Client

The Client model module.
Version:
  • v0
Source:

Members

(inner) active :Boolean

Whether an object is active (can send events). E.g. online users, robots.
Type:
  • Boolean
Source:

(inner) animation :Animation

Type:
Source:

(inner) children :Array.<VRObject>

Type:
Source:

(inner) id :Number

Type:
  • Number
Source:

(inner) mesh :String

URL of the file containing the mesh.
Type:
  • String
Source:

(inner) name :String

Client name - unique ID.
Type:
  • String
Source:

(inner) permanent :Boolean

Permanent objects are always present (e.g. sky)
Type:
  • Boolean
Source:

(inner) position :Point

Type:
Source:

(inner) properties :Object.<String, Object>

Custom transient object properties
Type:
  • Object.<String, Object>
Source:

(inner) rotation :Rotation

Type:
Source:

(inner) scale :Point

Type:
Source:

(inner) sceneProperties :SceneProperties

Type:
Source:

(inner) script :String

Script that client runs. To prevent cross-site scripting, this is a read-only property.
Type:
  • String
Source:

(inner) temporary :Boolean

Temporary objects will be deleted from the database along with their owner
Type:
  • Boolean
Source:

(inner) tokens :Object.<String, String>

Tokens used to access video/audio streaming servers, identify conversations with chatbots etc. Transient, never stored to the database.
Type:
  • Object.<String, String>
Source:

(inner) userHeight :Number

User's height in real life, used in VR. Transient biometric data.
Type:
  • Number
Source: