Last change
on this file since 1147 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:
707 bytes
|
Rev | Line | |
---|
[1114] | 1 | using System;
|
---|
| 2 |
|
---|
| 3 | namespace Oni.Motoko
|
---|
| 4 | {
|
---|
| 5 | internal class Geometry
|
---|
| 6 | {
|
---|
| 7 | private InstanceDescriptor texture;
|
---|
| 8 |
|
---|
| 9 | public string Name;
|
---|
| 10 | public Vector3[] Points;
|
---|
| 11 | public Vector3[] Normals;
|
---|
| 12 | public Vector2[] TexCoords;
|
---|
| 13 | public int[] Triangles;
|
---|
| 14 |
|
---|
| 15 | public string TextureName;
|
---|
| 16 | public bool HasTransform;
|
---|
| 17 | public Matrix Transform;
|
---|
| 18 |
|
---|
| 19 | public InstanceDescriptor Texture
|
---|
| 20 | {
|
---|
| 21 | get
|
---|
| 22 | {
|
---|
| 23 | return texture;
|
---|
| 24 | }
|
---|
| 25 | set
|
---|
| 26 | {
|
---|
| 27 | texture = value;
|
---|
| 28 | TextureName = value == null ? null : value.Name;
|
---|
| 29 | }
|
---|
| 30 | }
|
---|
| 31 | }
|
---|
| 32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.