forked from AerysBat/XNALara
-
Notifications
You must be signed in to change notification settings - Fork 2
/
MeshDesc.cs
37 lines (32 loc) · 907 Bytes
/
MeshDesc.cs
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
using Microsoft.Xna.Framework;
namespace XNALara
{
public class MeshDesc
{
public string name;
public int uvLayerCount;
public Texture[] textures;
public Vertex[] vertices;
public ushort[] indices;
public short[] boneIndexMap;
public object[] renderParams;
public bool isShadeless;
public class Texture
{
public string filename;
public int uvLayerIndex;
public bool useMipmaps = true;
}
public class Vertex
{
public Vector3 position;
public Vector3 normal;
public Vector4 color;
public Vector2[] texCoords;
public Vector4[] tangents;
public short[] boneIndicesGlobal;
public short[] boneIndicesLocal;
public float[] boneWeights;
}
}
}