| Revision: | 1114 |
| Committed: | Wed Jan 22 14:08:57 2020 UTC (5 years, 9 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. |
| # | 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 | } |