Exemplo n.º 1
0
        public void RegisterMaterial(Material mat, TextureSetOptions opts)
        {
            var registered = new RegisteredTextureSetMaterial(mat, opts);

            _textureSetMaterials.Add(registered);
            registered.ApplySet(CurrentTextureSet);
        }
Exemplo n.º 2
0
 public RegisteredTextureSetMaterial(Material mat, TextureSetOptions opts)
 {
     Material = mat;
     Options  = opts;
 }