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

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