summaryrefslogtreecommitdiff
path: root/NW4RTools/Models/Node.cs
blob: 4031ae94d44e7c4e2d5b7d649b08273a12f41127 (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
using System;

namespace NW4RTools.Models {
	public class Node {
		public enum BillboardType {
			None, Type1, Type2, Type3, Type4, Type5, Type6
		}

		public UInt32 Index;
		public UInt32 MatrixID;
		public UInt32 Flags;
		public BillboardType BillboardMode;

		public Vec3 Scale, Rotation, Translation;
		public Vec3 BoxMin, BoxMax;

		public Node Parent, FirstChild, Next, Previous;
		public byte[] UserData;

		public Matrix NodeMatrix, NodeInvMatrix;

		public Node() {
		}
	}
}