AssetImportObject
Engine/source/T3D/assets/assetImporter.h
AssetImportConfig is a SimObject derived object that represents and holds information for an importing asset.
Private Types
Parent
Public Attributes
Vector< AssetImportObject * >
What, if any, importing asset item are children of this item
What is the original, unmodified by processing, asset name
bool
Is the asset item currently flagged as dirty
What is the source file path of the importing asset
What is the source file path of the importing asset in string form
bool
Is this specific asset item generated as part of the import process of another item
Specific to ImageAsset type What is the image asset's suffix type.
What is the name of the module this asset will be importing into
What, if any, importing asset item is this item's parent
bool
Has the asset item been processed
Specific to ShapeAsset type Processed information about the shape file.
bool
Is this asset item marked to be skipped.
What is the articulated information of the status of the asset.
If there is a warning or error status, what type is the condition for this asset item
What is the ultimate asset taml file path for this import item
Public Functions
Declare Console Object.
bool
onAdd()
Called when the object is added to the sim.
bool
setFilePath(StringTableEntry pFilePath)
Public Static Functions
bool
_setFilePath(void * obj, const char * index, const char * data)
Engine.
Detailed Description
AssetImportConfig is a SimObject derived object that represents and holds information for an importing asset.
They are generated and processed by the AssetImporter
Private Types
typedef SimObject Parent
Public Attributes
String assetName
What is the asset's name
String assetType
What type is the importing asset
Vector< AssetImportObject * > childAssetItems
What, if any, importing asset item are children of this item
String cleanAssetName
What is the original, unmodified by processing, asset name
bool dirty
Is the asset item currently flagged as dirty
Torque::Path filePath
What is the source file path of the importing asset
StringTableEntry filePathString
What is the source file path of the importing asset in string form
bool generatedAsset
Is this specific asset item generated as part of the import process of another item
String imageSuffixType
Specific to ImageAsset type What is the image asset's suffix type.
Options are: Albedo, Normal, Roughness, AO, Metalness, ORMConfig
String moduleName
What is the name of the module this asset will be importing into
AssetImportObject * parentAssetItem
What, if any, importing asset item is this item's parent
bool processed
Has the asset item been processed
GuiTreeViewCtrl * shapeInfo
Specific to ShapeAsset type Processed information about the shape file.
Contains numbers and lists of meshes, materials and animations
bool skip
Is this asset item marked to be skipped.
If it is, it's usually due to being marked as deleted
String status
What is the current status of this asset item in it's import process
String statusInfo
What is the articulated information of the status of the asset.
Contains the error or warning log data.
String statusType
If there is a warning or error status, what type is the condition for this asset item
String tamlFilePath
What is the ultimate asset taml file path for this import item
Public Functions
AssetImportObject()
~AssetImportObject()
DECLARE_CONOBJECT(AssetImportObject )
Declare Console Object.
onAdd()
Reimplemented from: SimObject
onRemove()
Reimplemented from: SimObject
operator==(const AssetImportObject & o)
setFilePath(StringTableEntry pFilePath)
Public Static Functions
_setFilePath(void * obj, const char * index, const char * data)
initPersistFields()
Engine.