ExternalScriptComponent

ExternalScript object3D component

Constructor

new ExternalScriptComponent()

Methods

has(externalIDScript) → {boolean}

This function checks if an external script ID is included in the model's list of script IDs.

Parameters:
NameTypeDescription
externalIDScriptstring

string contains externalscrip.ID_SCRIPT

Returns:
  • Return a boolean indicating whether an external script exists in id_scripts of component
Type: 
boolean