diff options
| author | chai <215380520@qq.com> | 2024-05-19 17:03:57 +0800 |
|---|---|---|
| committer | chai <215380520@qq.com> | 2024-05-19 17:03:57 +0800 |
| commit | cf58771365b5953c6eac548b172aae880d1f0acd (patch) | |
| tree | a49757a4b5c447cbf877584d482367a6bfe33b10 /Thronefall_1_57/Decompile/NGS.MeshFusionPro/MeshCombineInfo.cs | |
| parent | eed315deae356ddfb17f28305e7cde6cdfc43313 (diff) | |
* rename
Diffstat (limited to 'Thronefall_1_57/Decompile/NGS.MeshFusionPro/MeshCombineInfo.cs')
| -rw-r--r-- | Thronefall_1_57/Decompile/NGS.MeshFusionPro/MeshCombineInfo.cs | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/Thronefall_1_57/Decompile/NGS.MeshFusionPro/MeshCombineInfo.cs b/Thronefall_1_57/Decompile/NGS.MeshFusionPro/MeshCombineInfo.cs deleted file mode 100644 index ed879cb..0000000 --- a/Thronefall_1_57/Decompile/NGS.MeshFusionPro/MeshCombineInfo.cs +++ /dev/null @@ -1,43 +0,0 @@ -using UnityEngine; -using UnityEngine.Rendering; - -namespace NGS.MeshFusionPro; - -public struct MeshCombineInfo -{ - public Mesh mesh; - - public Matrix4x4 transformMatrix; - - public Vector4 lightmapScaleOffset; - - public Vector4 realtimeLightmapScaleOffset; - - public int submeshIndex; - - public readonly int vertexCount; - - public readonly int trianglesCount; - - public MeshCombineInfo(Mesh mesh, int submeshIndex = 0) - : this(mesh, Matrix4x4.identity, submeshIndex) - { - } - - public MeshCombineInfo(Mesh mesh, Matrix4x4 transformMatrix, int submeshIndex = 0) - : this(mesh, transformMatrix, new Vector4(1f, 1f, 0f, 0f), new Vector4(1f, 1f, 0f, 0f), submeshIndex) - { - } - - public MeshCombineInfo(Mesh mesh, Matrix4x4 transformMatrix, Vector4 lightmapScaleOffset, Vector4 realtimeLightmapScaleOffset, int submeshIndex = 0) - { - this.mesh = mesh; - this.transformMatrix = transformMatrix; - this.lightmapScaleOffset = lightmapScaleOffset; - this.realtimeLightmapScaleOffset = realtimeLightmapScaleOffset; - this.submeshIndex = submeshIndex; - SubMeshDescriptor subMesh = mesh.GetSubMesh(submeshIndex); - vertexCount = subMesh.vertexCount; - trianglesCount = subMesh.indexCount; - } -} |
