Torque3D Documentation / _generateds / GameObjectAsset

GameObjectAsset

consoledoc.h

More...

Public Attributes

string

Name of the game object. Defines the created object's class.

assetLooseFilePath

Path to the script file for the GameObject's script code.

assetLooseFilePath

Path to the taml file for the GameObject's heirarchy.

Public Functions

string

Creates an instance of the given GameObject given the asset definition.

Detailed Description

UNDOCUMENTED!

Public Attributes

string gameObjectName 

Name of the game object. Defines the created object's class.

assetLooseFilePath scriptFile 

Path to the script file for the GameObject's script code.

assetLooseFilePath TAMLFile 

Path to the taml file for the GameObject's heirarchy.

Public Functions

createObject()

Creates an instance of the given GameObject given the asset definition.

return:

The GameObject entity created from the asset.