C# 클래스 MaterialsOptimizer.Material.Layer

파일 보기 프로젝트 열기: Patapom/GodComplex

공개 프로퍼티들

프로퍼티 타입 설명
m_AO Texture
m_UVOffset float2
m_UVScale float2
m_UVSet UV_SET
m_colorConstant float4
m_diffuse Texture
m_diffuseBeforeOptimization Texture
m_diffuseReUse REUSE_MODE
m_emissive Texture
m_errors string
m_gloss Texture
m_glossBeforeOptimization Texture
m_glossReUse REUSE_MODE
m_index int
m_mask Texture
m_maskReUse REUSE_MODE
m_maskUVOffset float2
m_maskUVScale float2
m_maskUVSet UV_SET
m_maskingMode MASKING_MODE
m_metal Texture
m_metalReUse REUSE_MODE
m_normal Texture
m_normalReUse REUSE_MODE
m_owner Material
m_specular Texture
m_specularReUse REUSE_MODE
m_translucency Texture
m_useColorConstant bool
m_warnings string

공개 메소드들

메소드 설명
CheckTexture ( Texture _texture, bool _hasUseOption, REUSE_MODE _reUseMode, string T, string _textureName, int _expectedChannelsCount ) : void

Checks the provided texture is valid

CleanUp ( List _layers, Options _options, int &_removedTexturesCount, int &_blackColorConstantsCount, int &_swappedSlotsCount, int &_missingTexturesReplacedCount, int &_removedHasOcclusionMapOptionsCount, int &_reUseOptionsSetCount ) : void
ClearErrorLevel ( ) : void
CompareTextures ( Texture _texture0, REUSE_MODE _reUseMode0, Texture _texture1, REUSE_MODE _reUseMode1, Layer _layer1, string T, string _textureName0, string _textureName1 ) : void
Export ( StringWriter W, string T, string _layerPrefix, Options _options ) : void
Layer ( Material _owner ) : System
Layer ( Material _owner, int _index ) : System
Layer ( Material _owner, int _index, BinaryReader R ) : System
ParseMaskScaleBias ( Parser _P ) : void
ParseScaleBias ( Parser _P ) : void
RaiseErrorLevel ( ERROR_LEVEL _errorLevel ) : void
Read ( BinaryReader R ) : void
SameMaskUVs ( Layer _other ) : bool

Checks the UV sets and the tiling/offsets are the same

SameUVs ( Layer _other ) : bool

Checks the UV sets and the tiling/offsets are the same

ToString ( ) : string
TrySwapping ( Texture &_a, Texture &_b, TextureFileInfo _expectedUsageForA, TextureFileInfo _expectedUsageForB, int &_swappedSlotsCount ) : void
Write ( BinaryWriter W ) : void

메소드 상세

CheckTexture() 공개 메소드

Checks the provided texture is valid
public CheckTexture ( Texture _texture, bool _hasUseOption, REUSE_MODE _reUseMode, string T, string _textureName, int _expectedChannelsCount ) : void
_texture Texture
_hasUseOption bool
_reUseMode REUSE_MODE
T string
_textureName string
_expectedChannelsCount int
리턴 void

CleanUp() 공개 메소드

public CleanUp ( List _layers, Options _options, int &_removedTexturesCount, int &_blackColorConstantsCount, int &_swappedSlotsCount, int &_missingTexturesReplacedCount, int &_removedHasOcclusionMapOptionsCount, int &_reUseOptionsSetCount ) : void
_layers List
_options Options
_removedTexturesCount int
_blackColorConstantsCount int
_swappedSlotsCount int
_missingTexturesReplacedCount int
_removedHasOcclusionMapOptionsCount int
_reUseOptionsSetCount int
리턴 void

ClearErrorLevel() 공개 메소드

public ClearErrorLevel ( ) : void
리턴 void

CompareTextures() 공개 메소드

public CompareTextures ( Texture _texture0, REUSE_MODE _reUseMode0, Texture _texture1, REUSE_MODE _reUseMode1, Layer _layer1, string T, string _textureName0, string _textureName1 ) : void
_texture0 Texture
_reUseMode0 REUSE_MODE
_texture1 Texture
_reUseMode1 REUSE_MODE
_layer1 Layer
T string
_textureName0 string
_textureName1 string
리턴 void

Export() 공개 메소드

public Export ( StringWriter W, string T, string _layerPrefix, Options _options ) : void
W System.IO.StringWriter
T string
_layerPrefix string
_options Options
리턴 void

Layer() 공개 메소드

public Layer ( Material _owner ) : System
_owner Material
리턴 System

Layer() 공개 메소드

public Layer ( Material _owner, int _index ) : System
_owner Material
_index int
리턴 System

Layer() 공개 메소드

public Layer ( Material _owner, int _index, BinaryReader R ) : System
_owner Material
_index int
R System.IO.BinaryReader
리턴 System

ParseMaskScaleBias() 공개 메소드

public ParseMaskScaleBias ( Parser _P ) : void
_P Parser
리턴 void

ParseScaleBias() 공개 메소드

public ParseScaleBias ( Parser _P ) : void
_P Parser
리턴 void

RaiseErrorLevel() 공개 메소드

public RaiseErrorLevel ( ERROR_LEVEL _errorLevel ) : void
_errorLevel ERROR_LEVEL
리턴 void

Read() 공개 메소드

public Read ( BinaryReader R ) : void
R System.IO.BinaryReader
리턴 void

SameMaskUVs() 공개 메소드

Checks the UV sets and the tiling/offsets are the same
public SameMaskUVs ( Layer _other ) : bool
_other Layer
리턴 bool

SameUVs() 공개 메소드

Checks the UV sets and the tiling/offsets are the same
public SameUVs ( Layer _other ) : bool
_other Layer
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TrySwapping() 공개 메소드

public TrySwapping ( Texture &_a, Texture &_b, TextureFileInfo _expectedUsageForA, TextureFileInfo _expectedUsageForB, int &_swappedSlotsCount ) : void
_a Texture
_b Texture
_expectedUsageForA TextureFileInfo
_expectedUsageForB TextureFileInfo
_swappedSlotsCount int
리턴 void

Write() 공개 메소드

public Write ( BinaryWriter W ) : void
W System.IO.BinaryWriter
리턴 void

프로퍼티 상세

m_AO 공개적으로 프로퍼티

public Texture m_AO
리턴 Texture

m_UVOffset 공개적으로 프로퍼티

public float2 m_UVOffset
리턴 float2

m_UVScale 공개적으로 프로퍼티

public float2 m_UVScale
리턴 float2

m_UVSet 공개적으로 프로퍼티

public UV_SET m_UVSet
리턴 UV_SET

m_colorConstant 공개적으로 프로퍼티

public float4 m_colorConstant
리턴 float4

m_diffuse 공개적으로 프로퍼티

public Texture m_diffuse
리턴 Texture

m_diffuseBeforeOptimization 공개적으로 프로퍼티

public Texture m_diffuseBeforeOptimization
리턴 Texture

m_diffuseReUse 공개적으로 프로퍼티

public REUSE_MODE m_diffuseReUse
리턴 REUSE_MODE

m_emissive 공개적으로 프로퍼티

public Texture m_emissive
리턴 Texture

m_errors 공개적으로 프로퍼티

public string m_errors
리턴 string

m_gloss 공개적으로 프로퍼티

public Texture m_gloss
리턴 Texture

m_glossBeforeOptimization 공개적으로 프로퍼티

public Texture m_glossBeforeOptimization
리턴 Texture

m_glossReUse 공개적으로 프로퍼티

public REUSE_MODE m_glossReUse
리턴 REUSE_MODE

m_index 공개적으로 프로퍼티

public int m_index
리턴 int

m_mask 공개적으로 프로퍼티

public Texture m_mask
리턴 Texture

m_maskReUse 공개적으로 프로퍼티

public REUSE_MODE m_maskReUse
리턴 REUSE_MODE

m_maskUVOffset 공개적으로 프로퍼티

public float2 m_maskUVOffset
리턴 float2

m_maskUVScale 공개적으로 프로퍼티

public float2 m_maskUVScale
리턴 float2

m_maskUVSet 공개적으로 프로퍼티

public UV_SET m_maskUVSet
리턴 UV_SET

m_maskingMode 공개적으로 프로퍼티

public MASKING_MODE m_maskingMode
리턴 MASKING_MODE

m_metal 공개적으로 프로퍼티

public Texture m_metal
리턴 Texture

m_metalReUse 공개적으로 프로퍼티

public REUSE_MODE m_metalReUse
리턴 REUSE_MODE

m_normal 공개적으로 프로퍼티

public Texture m_normal
리턴 Texture

m_normalReUse 공개적으로 프로퍼티

public REUSE_MODE m_normalReUse
리턴 REUSE_MODE

m_owner 공개적으로 프로퍼티

public Material,MaterialsOptimizer m_owner
리턴 Material

m_specular 공개적으로 프로퍼티

public Texture m_specular
리턴 Texture

m_specularReUse 공개적으로 프로퍼티

public REUSE_MODE m_specularReUse
리턴 REUSE_MODE

m_translucency 공개적으로 프로퍼티

public Texture m_translucency
리턴 Texture

m_useColorConstant 공개적으로 프로퍼티

public bool m_useColorConstant
리턴 bool

m_warnings 공개적으로 프로퍼티

public string m_warnings
리턴 string