Пример #1
0
 public TextureValuesAggregator(
     Data.RendererCommonValues value,
     AdvancedRenderCommonValues advanceValue,
     TextureInformationRepository repo)
 {
     _value             = value;
     _advanceValue      = advanceValue;
     _texInfo           = repo.Texture;
     _alpha             = repo.Alpha;
     _uvDistortion      = repo.UvDistortion;
     _blend             = repo.Blend;
     _blendAlpha        = repo.BlendAlpha;
     _blendUvDistortion = repo.BlendUvDistortion;
 }
Пример #2
0
 public TextureValuesAggregator(
     Data.RendererCommonValues value,
     AdvancedRenderCommonValues advanceValue,
     TextureInformationRepository repo,
     System.Func <string, string> convertLoadingFilePath)
 {
     _value                  = value;
     _advanceValue           = advanceValue;
     _texInfo                = repo.Texture;
     _alpha                  = repo.Alpha;
     _uvDistortion           = repo.UvDistortion;
     _blend                  = repo.Blend;
     _blendAlpha             = repo.BlendAlpha;
     _blendUvDistortion      = repo.BlendUvDistortion;
     _convertLoadingFilePath = convertLoadingFilePath;
 }