public override object ProvideValue(System.IServiceProvider serviceProvider) { return(MaterialHelper.CreateImageMaterial(path, Opacity)); }
public MapTexture(string source) { Material = MaterialHelper.CreateImageMaterial(source, 1); }