Files
NobetaSource/Cpp2IL/Assembly-CSharp/MTAssets/UltimateLODSystem/MeshSimplifier/MeshCombiner.cs
2023-09-06 22:09:22 +02:00

109 lines
4.7 KiB
C#

using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;
namespace MTAssets.UltimateLODSystem.MeshSimplifier
{
// Token: 0x02000612 RID: 1554
[Token(Token = "0x2000612")]
public static class MeshCombiner
{
// Token: 0x0600309C RID: 12444 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600309C")]
[Address(RVA = "0x426910", Offset = "0x425110", VA = "0x180426910")]
public static Mesh CombineMeshes(Transform rootTransform, MeshRenderer[] renderers, out Material[] resultMaterials)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600309D RID: 12445 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600309D")]
[Address(RVA = "0x4287D0", Offset = "0x426FD0", VA = "0x1804287D0")]
public static Mesh CombineMeshes(Transform rootTransform, SkinnedMeshRenderer[] renderers, out Material[] resultMaterials, out Transform[] resultBones)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600309E RID: 12446 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600309E")]
[Address(RVA = "0x428EC0", Offset = "0x4276C0", VA = "0x180428EC0")]
public static Mesh CombineMeshes(Mesh[] meshes, Matrix4x4[] transforms, Material[][] materials, out Material[] resultMaterials)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600309F RID: 12447 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600309F")]
[Address(RVA = "0x427150", Offset = "0x425950", VA = "0x180427150")]
public static Mesh CombineMeshes(Mesh[] meshes, Matrix4x4[] transforms, Material[][] materials, Transform[][] bones, out Material[] resultMaterials, out Transform[] resultBones)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060030A0 RID: 12448 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60030A0")]
[Address(RVA = "0x428FE0", Offset = "0x4277E0", VA = "0x180428FE0")]
private static void CopyVertexPositions(ICollection<Vector3> list, Vector3[] arr)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060030A1 RID: 12449 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60030A1")]
[Address(RVA = "0x6AD6A0", Offset = "0x6ABEA0", VA = "0x1806AD6A0")]
private static void CopyVertexAttributes<T>(ref List<T> dest, IEnumerable<T> src, int previousVertexCount, int meshVertexCount, int totalVertexCount, T defaultValue)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060030A2 RID: 12450 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60030A2")]
[Address(RVA = "0x6ADC40", Offset = "0x6AC440", VA = "0x1806ADC40")]
private static T[] MergeArrays<T>(T[] arr1, T[] arr2)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060030A3 RID: 12451 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60030A3")]
[Address(RVA = "0x429630", Offset = "0x427E30", VA = "0x180429630")]
private static void TransformVertices(Vector3[] vertices, ref Matrix4x4 transform)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060030A4 RID: 12452 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60030A4")]
[Address(RVA = "0x429410", Offset = "0x427C10", VA = "0x180429410")]
private static void TransformNormals(Vector3[] normals, ref Matrix4x4 transform)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060030A5 RID: 12453 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60030A5")]
[Address(RVA = "0x4294D0", Offset = "0x427CD0", VA = "0x1804294D0")]
private static void TransformTangents(Vector4[] tangents, ref Matrix4x4 transform)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060030A6 RID: 12454 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60030A6")]
[Address(RVA = "0x429140", Offset = "0x427940", VA = "0x180429140")]
private static void RemapBones(BoneWeight[] boneWeights, int[] boneIndices)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060030A7 RID: 12455 RVA: 0x00066814 File Offset: 0x00064A14
[Token(Token = "0x60030A7")]
[Address(RVA = "0x4268F0", Offset = "0x4250F0", VA = "0x1804268F0")]
private static bool CanReadMesh(Mesh mesh)
{
return mesh.isReadable;
}
}
}