Last change
on this file since 1130 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:
474 bytes
|
Rev | Line | |
---|
[1114] | 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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.