ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/OniSplit/Dae/MaterialInstance.cs
Revision: 1114
Committed: Wed Jan 22 14:08:57 2020 UTC (5 years, 8 months ago) by iritscen
File size: 558 byte(s)
Log Message:
Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File Contents

# Content
1 using System;
2 using System.Collections.Generic;
3
4 namespace Oni.Dae
5 {
6 internal class MaterialInstance : Instance<Material>
7 {
8 private readonly List<MaterialBinding> bindings = new List<MaterialBinding>();
9
10 public MaterialInstance()
11 {
12 }
13
14 public MaterialInstance(string symbol, Material material)
15 : base(material)
16 {
17 Symbol = symbol;
18 }
19
20 public string Symbol { get; set; }
21
22 public List<MaterialBinding> Bindings => bindings;
23 }
24 }