| Revision: | 1114 | 
| Committed: | Wed Jan 22 14:08:57 2020 UTC (5 years, 9 months ago) by iritscen | 
| File size: | 474 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 GeometryInstance : Instance<Geometry> | 
| 7 | { | 
| 8 | private readonly List<MaterialInstance> materials = new List<MaterialInstance>(1); | 
| 9 | |
| 10 | public GeometryInstance() | 
| 11 | { | 
| 12 | } | 
| 13 | |
| 14 | public GeometryInstance(Geometry geometry) | 
| 15 | : base(geometry) | 
| 16 | { | 
| 17 | } | 
| 18 | |
| 19 | public List<MaterialInstance> Materials => materials; | 
| 20 | } | 
| 21 | } |