Torque3D Documentation / _generateds / assetImporter_ScriptBinding.h

assetImporter_ScriptBinding.h

Engine/source/T3D/assets/assetImporter_ScriptBinding.h

More...

Public Functions

DefineEngineMethod(AssetImportConfig , loadImportConfig , void , (Settings *configSettings, String configName) , (nullAsType< Settings * >(), "") , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , addImportingAssetItem , void , (AssetImportObject *assetItem, AssetImportObject *parentItem) , (nullAsType< AssetImportObject * >(), nullAsType< AssetImportObject * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , addImportingFile , AssetImportObject * , (String path) , ("") , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , autoImportFile , String , (String path) , ("") , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , deleteImportingAsset , void , (AssetImportObject *assetItem) , (nullAsType< AssetImportObject * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , dumpActivityLog , void , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , getActivityLogLine , String , (S32 i) , (0) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , getActivityLogLineCount , S32 , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , getAssetItem , AssetImportObject * , (S32 index) , (0) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , getAssetItemChild , AssetImportObject * , (AssetImportObject *assetItem, S32 index) , (nullAsType< AssetImportObject * >(), 0) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , getAssetItemChildCount , S32 , (AssetImportObject *assetItem) , (nullAsType< AssetImportObject * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , getAssetItemCount , S32 , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , importAssets , void , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , processImportingAssets , void , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , resetImportSession , void , (bool forceResetSession) , (false) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , resolveAssetItemIssues , void , (AssetImportObject *assetItem) , (nullAsType< AssetImportObject * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , setImportConfig , void , (AssetImportConfig *importConfig) , (nullAsType< AssetImportConfig * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , setTargetPath , void , (String path) , ("") , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )
DefineEngineMethod(AssetImporter , validateImportingAssets , bool , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

Detailed Description

Public Functions

DefineEngineMethod(AssetImportConfig , loadImportConfig , void , (Settings *configSettings, String configName) , (nullAsType< Settings * >(), "") , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , addImportingAssetItem , void , (AssetImportObject *assetItem, AssetImportObject *parentItem) , (nullAsType< AssetImportObject * >(), nullAsType< AssetImportObject * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , addImportingFile , AssetImportObject * , (String path) , ("") , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , autoImportFile , String , (String path) , ("") , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , deleteImportingAsset , void , (AssetImportObject *assetItem) , (nullAsType< AssetImportObject * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , dumpActivityLog , void , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , getActivityLogLine , String , (S32 i) , (0) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , getActivityLogLineCount , S32 , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , getAssetItem , AssetImportObject * , (S32 index) , (0) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , getAssetItemChild , AssetImportObject * , (AssetImportObject *assetItem, S32 index) , (nullAsType< AssetImportObject * >(), 0) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , getAssetItemChildCount , S32 , (AssetImportObject *assetItem) , (nullAsType< AssetImportObject * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , getAssetItemCount , S32 , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , importAssets , void , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , processImportingAssets , void , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , resetImportSession , void , (bool forceResetSession) , (false) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , resolveAssetItemIssues , void , (AssetImportObject *assetItem) , (nullAsType< AssetImportObject * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , setImportConfig , void , (AssetImportConfig *importConfig) , (nullAsType< AssetImportConfig * >()) , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , setTargetPath , void , (String path) , ("") , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

DefineEngineMethod(AssetImporter , validateImportingAssets , bool , () , "Creates <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> <a href="/coding/file/tmm__on_8h/#tmm__on_8h_1a1ac41480eb2e4aadd52252ee550b630a">new</a> script asset using the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">targetFilePath.\n</a>" "@return The bool result of calling exec" )

  1
  2#pragma once
  3
  4#include "console/engineAPI.h"
  5#include "assetImporter.h"
  6
  7//Console Functions
  8
  9DefineEngineMethod(AssetImportConfig, loadImportConfig, void, (Settings* configSettings, String configName), (nullAsType<Settings*>(), ""),
 10   "Creates a new script asset using the targetFilePath.\n"
 11   "@return The bool result of calling exec")
 12{
 13   return object->loadImportConfig(configSettings, configName);
 14}
 15
 16DefineEngineMethod(AssetImporter, setTargetPath, void, (String path), (""),
 17   "Creates a new script asset using the targetFilePath.\n"
 18   "@return The bool result of calling exec")
 19{
 20   return object->setTargetPath(path);
 21}
 22
 23DefineEngineMethod(AssetImporter, resetImportSession, void, (bool forceResetSession), (false),
 24   "Creates a new script asset using the targetFilePath.\n"
 25   "@return The bool result of calling exec")
 26{
 27   return object->resetImportSession(forceResetSession);
 28}
 29
 30DefineEngineMethod(AssetImporter, dumpActivityLog, void, (), ,
 31   "Creates a new script asset using the targetFilePath.\n"
 32   "@return The bool result of calling exec")
 33{
 34   return object->dumpActivityLog();
 35}
 36
 37DefineEngineMethod(AssetImporter, getActivityLogLineCount, S32, (),,
 38   "Creates a new script asset using the targetFilePath.\n"
 39   "@return The bool result of calling exec")
 40{
 41   return object->getActivityLogLineCount();
 42}
 43
 44DefineEngineMethod(AssetImporter, getActivityLogLine, String, (S32 i), (0),
 45   "Creates a new script asset using the targetFilePath.\n"
 46   "@return The bool result of calling exec")
 47{
 48   return object->getActivityLogLine(0);
 49}
 50
 51DefineEngineMethod(AssetImporter, autoImportFile, String, (String path), (""),
 52   "Creates a new script asset using the targetFilePath.\n"
 53   "@return The bool result of calling exec")
 54{
 55   return object->autoImportFile(path);
 56}
 57
 58DefineEngineMethod(AssetImporter, addImportingFile, AssetImportObject*, (String path), (""),
 59   "Creates a new script asset using the targetFilePath.\n"
 60   "@return The bool result of calling exec")
 61{
 62   return object->addImportingFile(path);
 63}
 64
 65DefineEngineMethod(AssetImporter, addImportingAssetItem, void, (AssetImportObject* assetItem, AssetImportObject* parentItem), (nullAsType< AssetImportObject*>(), nullAsType< AssetImportObject*>()),
 66   "Creates a new script asset using the targetFilePath.\n"
 67   "@return The bool result of calling exec")
 68{
 69   return object->addImportingAssetItem(assetItem, parentItem);
 70}
 71
 72DefineEngineMethod(AssetImporter, processImportingAssets, void, (), ,
 73   "Creates a new script asset using the targetFilePath.\n"
 74   "@return The bool result of calling exec")
 75{
 76   return object->processImportAssets();
 77}
 78
 79DefineEngineMethod(AssetImporter, validateImportingAssets, bool, (), ,
 80   "Creates a new script asset using the targetFilePath.\n"
 81   "@return The bool result of calling exec")
 82{
 83   return object->validateAssets();
 84}
 85
 86DefineEngineMethod(AssetImporter, resolveAssetItemIssues, void, (AssetImportObject* assetItem), (nullAsType< AssetImportObject*>()),
 87   "Creates a new script asset using the targetFilePath.\n"
 88   "@return The bool result of calling exec")
 89{
 90   object->resolveAssetItemIssues(assetItem);
 91}
 92
 93DefineEngineMethod(AssetImporter, importAssets, void, (),,
 94   "Creates a new script asset using the targetFilePath.\n"
 95   "@return The bool result of calling exec")
 96{
 97   return object->importAssets();
 98}
 99
100DefineEngineMethod(AssetImporter, getAssetItemCount, S32, (),,
101   "Creates a new script asset using the targetFilePath.\n"
102   "@return The bool result of calling exec")
103{
104   return object->getAssetItemCount();
105}
106
107DefineEngineMethod(AssetImporter, getAssetItem, AssetImportObject*, (S32 index), (0),
108   "Creates a new script asset using the targetFilePath.\n"
109   "@return The bool result of calling exec")
110{
111   return object->getAssetItem(index);
112}
113
114DefineEngineMethod(AssetImporter, getAssetItemChildCount, S32, (AssetImportObject* assetItem), (nullAsType< AssetImportObject*>()),
115   "Creates a new script asset using the targetFilePath.\n"
116   "@return The bool result of calling exec")
117{
118   if (assetItem == nullptr)
119      return 0;
120
121   return object->getAssetItemChildCount(assetItem);
122}
123
124DefineEngineMethod(AssetImporter, getAssetItemChild, AssetImportObject*, (AssetImportObject* assetItem, S32 index), (nullAsType< AssetImportObject*>(), 0),
125   "Creates a new script asset using the targetFilePath.\n"
126   "@return The bool result of calling exec")
127{
128   if (assetItem == nullptr)
129      return nullptr;
130
131   return object->getAssetItemChild(assetItem, index);
132}
133
134DefineEngineMethod(AssetImporter, deleteImportingAsset, void, (AssetImportObject* assetItem), (nullAsType< AssetImportObject*>()),
135   "Creates a new script asset using the targetFilePath.\n"
136   "@return The bool result of calling exec")
137{
138   return object->deleteImportingAsset(assetItem);
139}
140
141DefineEngineMethod(AssetImporter, setImportConfig, void, (AssetImportConfig* importConfig), (nullAsType< AssetImportConfig*>()),
142   "Creates a new script asset using the targetFilePath.\n"
143   "@return The bool result of calling exec")
144{
145   return object->setImportConfig(importConfig);
146}
147
148
149/*DefineEngineFunction(enumColladaForImport, bool, (const char* shapePath, const char* ctrl, bool loadCachedDts), ("", "", true),
150   "(string shapePath, GuiTreeViewCtrl ctrl) Collect scene information from "
151   "a COLLADA file and store it in a GuiTreeView control. This function is "
152   "used by the COLLADA import gui to show a preview of the scene contents "
153   "prior to import, and is probably not much use for anything else.\n"
154   "@param shapePath COLLADA filename\n"
155   "@param ctrl GuiTreeView control to add elements to\n"
156   "@param loadCachedDts dictates if it should try and load the cached dts file if it exists"
157   "@return true if successful, false otherwise\n"
158   "@ingroup Editors\n"
159   "@internal")
160{
161   return enumColladaForImport(shapePath, ctrl, loadCachedDts);
162}*/
163