프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CheckSafeTokens | bool | ||
Parse | void | ||
ParseOptions | void | ||
ReadListOfStrings | void | ||
RecordCommentVariable | void | ||
RecordSingleLineCommentVariable | void | ||
WriteListOfStrings | void |
메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | 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 | |
리턴 | void |
public CleanUpUselessComments ( List |
||
_unknownStrings | List |
|
리턴 | void |
public CollectDiffuseGlossTextures ( Dictionary |
||
_diffuse2GlossMaps | Dictionary |
|
리턴 | void |
public Material ( |
||
_sourceFileName | ||
_name | string | |
_content | string | |
리턴 | System |
public Optimize ( int &_totalDiffuseGlossTexturesReplaced ) : bool | ||
_totalDiffuseGlossTexturesReplaced | int | |
리턴 | bool |
public RaiseErrorLevel ( ERROR_LEVEL _errorLevel ) : void | ||
_errorLevel | ERROR_LEVEL | |
리턴 | void |
public RecordCommentOption ( string _token, |
||
_token | string | |
P | ||
리턴 | void |
public RecordCommentVariable ( string _token, |
||
_token | string | |
P | ||
리턴 | void |
public RecordForbiddenVariable ( string _token, |
||
_token | string | |
P | ||
리턴 | void |
public RecordSingleLineCommentOption ( string _token, |
||
_token | string | |
P | ||
리턴 | void |
public RecordSingleLineCommentVariable ( string _token, |
||
_token | string | |
P | ||
리턴 | void |
public RecordUnknownOption ( string _token, |
||
_token | string | |
P | ||
리턴 | void |
public RecordUnknownOption ( string _token, int value, |
||
_token | string | |
value | int | |
P | ||
리턴 | void |
public RecordUnknownVariable ( string _token, |
||
_token | string | |
P | ||
리턴 | void |