public void RegisterMaterial(Material mat, TextureSetOptions opts) { var registered = new RegisteredTextureSetMaterial(mat, opts); _textureSetMaterials.Add(registered); registered.ApplySet(CurrentTextureSet); }
public RegisteredTextureSetMaterial(Material mat, TextureSetOptions opts) { Material = mat; Options = opts; }