-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtMeshObject.cs
More file actions
50 lines (36 loc) · 1.29 KB
/
Copy pathtMeshObject.cs
File metadata and controls
50 lines (36 loc) · 1.29 KB
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
47
48
49
50
// Decompiled with JetBrains decompiler
// Type: LcDevPack_TeamDamonA.tMeshObject
// Assembly: LcDevPack_TeamDamonA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 6B9BC8BF-B510-4945-A515-04135CC0F4A4
// Assembly location: C:\Users\NTServer\Desktop\LcDevPack_TeamDamonA\LcDevPack_TeamDamonA\LcDevPack_TeamDamonA.exe
using System.Collections.Generic;
using System.Linq;
namespace LcDevPack_TeamDamonA
{
public class tMeshObject
{
public uint FaceCount { get; set; }
public tFace[] Faces { get; set; }
public uint FromVert { get; set; }
public byte[] JData { get; set; }
public uint JValue { get; set; }
public byte[] MaterialName { get; set; }
public tMeshShaderData ShaderData { get; set; }
public uint ShaderFlag { get; set; }
public tMeshShaderInfo ShaderInfo { get; set; }
public tMeshTexture[] Textures { get; set; }
public uint ToVert { get; set; }
public uint Value1 { get; set; }
public short[] GetFaces()
{
List<short> shortList = new List<short>();
for (int index = 0; index < ((IEnumerable<tFace>)Faces).Count<tFace>(); ++index)
{
shortList.Add(Faces[index].A);
shortList.Add(Faces[index].B);
shortList.Add(Faces[index].C);
}
return shortList.ToArray();
}
}
}