TerrainAsset
Engine/source/T3D/assets/TerrainAsset.h
Private Types
Parent
Private Attributes
Public Functions
Declare Console Object.
bool
setDataField(StringTableEntry slotName, const char * array, const char * value)
setTerrainFileName(const char * pTerrainFile)
Public Static Functions
bool
getAssetByFilename(StringTableEntry fileName, AssetPtr< TerrainAsset > * shapeAsset)
bool
getAssetById(StringTableEntry assetId, AssetPtr< TerrainAsset > * shapeAsset)
Engine.
Protected Functions
Protected Static Functions
const char *
getTerrainFileName(void * obj, const char * data)
bool
setTerrainFileName(void * obj, const char * index, const char * data)
Detailed Description
Private Types
typedef AssetBase Parent
Private Attributes
Resource< TerrainFile > mTerrainFile
StringTableEntry mTerrainFileName
StringTableEntry mTerrainFilePath
Vector< StringTableEntry > mTerrMaterialAssetIds
Vector< AssetPtr< TerrainMaterialAsset > > mTerrMaterialAssets
Public Functions
TerrainAsset()
~TerrainAsset()
copyTo(SimObject * object)
Reimplemented from: AssetBase
DECLARE_CONOBJECT(TerrainAsset )
Declare Console Object.
getTerrainFileName(void )
getTerrainFilePath(void )
getTerrainResource(void )
loadTerrain()
setDataField(StringTableEntry slotName, const char * array, const char * value)
setTerrainFileName(const char * pTerrainFile)
Public Static Functions
getAssetByFilename(StringTableEntry fileName, AssetPtr< TerrainAsset > * shapeAsset)
getAssetById(StringTableEntry assetId, AssetPtr< TerrainAsset > * shapeAsset)
getAssetIdByFilename(StringTableEntry fileName)
initPersistFields()
Engine.
Protected Functions
initializeAsset()
Reimplemented from: AssetBase
onAssetRefresh(void )
Reimplemented from: AssetBase
Protected Static Functions
getTerrainFileName(void * obj, const char * data)
setTerrainFileName(void * obj, const char * index, const char * data)