Last change
on this file since 1131 was 1114, checked in by iritscen, 5 years ago |
Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.
|
File size:
558 bytes
|
Line | |
---|
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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.