Property | Type | Description | |
---|---|---|---|
m_errors | string | ||
m_forbiddenParms | List |
||
m_glossMinMax | float2 | ||
m_height | Layer.Texture | ||
m_isUsingCloudParms | bool | ||
m_isUsingVegetationParms | bool | ||
m_isUsingWaterParms | bool | ||
m_layers | List |
||
m_lightMap | Layer.Texture | ||
m_metallicMinMax | float2 | ||
m_name | string | ||
m_options | Options | ||
m_parms | Parms | ||
m_physicsMaterial | string | ||
m_programs | Programs | ||
m_sourceFileName | |||
m_states | States | ||
m_unknownVariables | List |
||
m_version | int | ||
m_warnings | string |
Property | Type | Description | |
---|---|---|---|
CheckSafeTokens | bool | ||
Parse | void | ||
ParseOptions | void | ||
ReadListOfStrings | void | ||
RecordCommentVariable | void | ||
RecordSingleLineCommentVariable | void | ||
WriteListOfStrings | void |
Method | Description | |
---|---|---|
CheckSafeOptionsTokens ( string token, int value ) : void | ||
CleanUp ( int &_clearedOptionsCount, int &_removedTexturesCount, int &_blackColorConstantsCount, int &_swappedSlotsCount, int &_missingTexturesReplacedCount, int &_removedHasOcclusionMapOptionsCount, int &_reUseOptionsSetCount ) : void |
This function cleans the material from automatically recoverable errors and warnings
|
|
CleanUpUselessComments ( List |
||
ClearErrorLevel ( ) : void | ||
CollectDiffuseGlossTextures ( Dictionary |
||
Export ( |
This attempts to re-export a valid material for a M2 file
|
|
Material ( |
||
Material ( |
||
Optimize ( int &_totalDiffuseGlossTexturesReplaced ) : bool |
This function optimizes the material by compacting diffuse and gloss textures into a single "_dg" texture whenever possible
|
|
RaiseErrorLevel ( ERROR_LEVEL _errorLevel ) : void | ||
Read ( |
||
RecordCommentOption ( string _token, |
||
RecordCommentVariable ( string _token, |
||
RecordForbiddenVariable ( string _token, |
||
RecordSingleLineCommentOption ( string _token, |
||
RecordSingleLineCommentVariable ( string _token, |
||
RecordUnknownOption ( string _token, |
||
RecordUnknownOption ( string _token, int value, |
||
RecordUnknownVariable ( string _token, |
||
ToString ( ) : string | ||
Write ( |
Method | Description | |
---|---|---|
CheckSafeTokens ( string token ) : bool | ||
Parse ( string _block ) : void | ||
ParseOptions ( string _options ) : void | ||
ReadListOfStrings ( |
||
RecordCommentVariable ( List |
||
RecordSingleLineCommentVariable ( List |
||
WriteListOfStrings ( |
public CheckSafeOptionsTokens ( string token, int value ) : void | ||
token | string | |
value | int | |
return | void |
public CleanUp ( int &_clearedOptionsCount, int &_removedTexturesCount, int &_blackColorConstantsCount, int &_swappedSlotsCount, int &_missingTexturesReplacedCount, int &_removedHasOcclusionMapOptionsCount, int &_reUseOptionsSetCount ) : void | ||
_clearedOptionsCount | int | |
_removedTexturesCount | int | |
_blackColorConstantsCount | int | |
_swappedSlotsCount | int | |
_missingTexturesReplacedCount | int | |
_removedHasOcclusionMapOptionsCount | int | |
_reUseOptionsSetCount | int | |
return | void |
public CleanUpUselessComments ( List |
||
_unknownStrings | List |
|
return | void |
public CollectDiffuseGlossTextures ( Dictionary |
||
_diffuse2GlossMaps | Dictionary |
|
return | void |
public Material ( |
||
R | ||
return | System |
public Material ( |
||
_sourceFileName | ||
_name | string | |
_content | string | |
return | System |
public Optimize ( int &_totalDiffuseGlossTexturesReplaced ) : bool | ||
_totalDiffuseGlossTexturesReplaced | int | |
return | bool |
public RaiseErrorLevel ( ERROR_LEVEL _errorLevel ) : void | ||
_errorLevel | ERROR_LEVEL | |
return | void |
public RecordCommentOption ( string _token, |
||
_token | string | |
P | ||
return | void |
public RecordCommentVariable ( string _token, |
||
_token | string | |
P | ||
return | void |
public RecordForbiddenVariable ( string _token, |
||
_token | string | |
P | ||
return | void |
public RecordSingleLineCommentOption ( string _token, |
||
_token | string | |
P | ||
return | void |
public RecordSingleLineCommentVariable ( string _token, |
||
_token | string | |
P | ||
return | void |
public RecordUnknownOption ( string _token, |
||
_token | string | |
P | ||
return | void |
public RecordUnknownOption ( string _token, int value, |
||
_token | string | |
value | int | |
P | ||
return | void |
public RecordUnknownVariable ( string _token, |
||
_token | string | |
P | ||
return | void |
public FileInfo,System.IO m_sourceFileName | ||
return |