Constructor
new GameObject3DInput(idRenderDatas, idSounds, idGameScripts, idExternalScripts, gameScriptVariablesInputs, externalScriptVariablesInputs, userDataInputs)
Name | Type | Description |
---|---|---|
idRenderDatas | Array.<string> | possible id render datas to set in RenderComponent |
idSounds | Array.<string> | possible id sound to set in AudioComponent |
idGameScripts | Array.<string> | possible id game script to set in GameScriptComponent |
idExternalScripts | Array.<string> | possible id external script to set in ExternalScriptComponent |
gameScriptVariablesInputs | Array.<string> | object inputs to edit .variables of GameScriptComponent |
externalScriptVariablesInputs | Array.<string> | object inputs to edit .variables of ExternalScriptComponent |
userDataInputs | Array.<string> | object inputs to edit .userData |
Members
externalScriptVariablesInputs :Array
- Array
gameObject3D :GameObject3D|null
- GameObject3D |
null
gameScriptInputDomElement :HTMLElement
- HTMLElement
gameScriptVariablesInputs :Array
- Array
idExternalScripts :Array
- Array
idGameScripts :Array
- Array
idRenderDatas :Array
- Array
idSounds :Array
- Array
userDataInputs :Array
- Array
(static) EVENT
Methods
setGameObject3D(go)
Name | Type | Description |
---|---|---|
go | GameObject3D | 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
Name | Type | Description |
---|---|---|
scriptComponentType | string | 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