ScriptModel

new ScriptModel(json)

Model of object3D script component

Parameters:
NameTypeDescription
jsonobject

json to configure script model

Properties
NameTypeAttributesDescription
uuidstring

uuid of script model

scriptParamsArray.<ScriptParams><optional>

scripts params

variablesobject<optional>

custom global variables for scripts

Members

scriptParams :Array.<ScriptParams>

scripts params

Type:

variables :object

custom global variables passed to scripts

Type:
  • object