summaryrefslogtreecommitdiff
path: root/NW4RTools/Models/Model.cs
blob: 71edaf370bbad85ad82053767938e7e945bbcb8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System;
using System.Collections.Generic;

namespace NW4RTools.Models {
	public class Model {
		public enum ScaleModeType {
			Standard, SoftImage, Maya
		}

		public enum TexMatrixModeType {
			Maya, SoftImage, Max
		}

		public ResDict<ByteCode> Bytecode;
		public ResDict<Node> Nodes;
		public ResDict<VertexPosData> VtxPosData;
		public ResDict<VertexNrmData> VtxNrmData;
		public ResDict<VertexClrData> VtxClrData;
		public ResDict<VertexTexCoordData> VtxTexCoordData;
		public ResDict<Material> Materials;
		public ResDict<Shader> Shaders;
		public ResDict<Shape> Shapes;
		public ResDict<List<TexMatPairing>> PairingLookupByTexture;
		public ResDict<List<TexMatPairing>> PairingLookupByPalette;

		/*public ResDict Bytecode, Nodes, VtxPosData, VtsNrmData, VtxClrData, VtxTexCoordData;
		public ResDict VtxFurVecData, VtxFurPosData, Materials, Shaders, Shapes;
		public ResDict Textures, Palettes;*/

		public ScaleModeType ScaleMode;
		public TexMatrixModeType TexMatrixMode;

		public UInt32 VertexCount, TriangleCount;

		public bool UsesNrmMtxArray, UsesTexMtxArray;

		public Int32[] MatrixIDtoNodeID;

		public Vec3 Minimum, Maximum;


		public Model() {
		}
	}
}