GameObject3DInput

Custom HTML element that provides a user interface for editing various components and properties of a 3D game object.

Constructor

new GameObject3DInput(idRenderDatas, idSounds, idGameScripts, idExternalScripts, gameScriptVariablesInputs, externalScriptVariablesInputs, userDataInputs)

Parameters:
NameTypeDescription
idRenderDatasArray.<string>

possible id render datas to set in RenderComponent

idSoundsArray.<string>

possible id sound to set in AudioComponent

idGameScriptsArray.<string>

possible id game script to set in GameScriptComponent

idExternalScriptsArray.<string>

possible id external script to set in ExternalScriptComponent

gameScriptVariablesInputsArray.<string>

object inputs to edit .variables of GameScriptComponent

externalScriptVariablesInputsArray.<string>

object inputs to edit .variables of ExternalScriptComponent

userDataInputsArray.<string>

object inputs to edit .userData

Members

externalScriptVariablesInputs :Array

Type:
  • Array

gameObject3D :GameObject3D|null

Type:
  • GameObject3D | null

gameScriptInputDomElement :HTMLElement

Type:
  • HTMLElement

gameScriptVariablesInputs :Array

Type:
  • Array

idExternalScripts :Array

Type:
  • Array

idGameScripts :Array

Type:
  • Array

idRenderDatas :Array

Type:
  • Array

idSounds :Array

Type:
  • Array

userDataInputs :Array

Type:
  • Array

(static) EVENT

Methods

setGameObject3D(go)

Parameters:
NameTypeDescription
goGameObject3D

go to select in the game object 3d input

updateAudio()

Update Audio component edition of the current game object 3d

updateCollider()

Update Collider component edition of the current game object 3d

updateExternalScript()

Update ExternalScript component edition of the current game object 3d

updateGameScript()

Update GameScript component edition of the current game object 3d

updateRender()

Update Render component edition of the current game object 3d

updateScriptComponent(scriptComponentType)

Update Script component edition of the current game object 3d

Parameters:
NameTypeDescription
scriptComponentTypestring

can ExternalScriptComponent.TYPE or GameScriptComponent.TYPE

updateTransform()

Update Transform component edition of the current game object 3d

updateUserData()

Update userData edition of the current game object 3d