using System; using Cpp2IlInjected; using Unity.Burst; using Unity.Collections; using Unity.Jobs; using Unity.Mathematics; using UnityEngine; namespace ClusterLOD { // Token: 0x02001355 RID: 4949 [Token(Token = "0x2001355")] [BurstCompile] public struct ClusterMeshUpdateJob : IJob { // Token: 0x06006F25 RID: 28453 RVA: 0x00186988 File Offset: 0x00184B88 [Token(Token = "0x6006F25")] [Address(RVA = "0x1F43830", Offset = "0x1F42830", VA = "0x181F43830")] public ClusterMeshUpdateJob(ClusterMeshUpdateJobData jobData, Vector3 eyePos, bool dynamicCluster, float faceFactor, float meshScale, float distFactor) { NativeList nativeList = jobData.verts; float z = eyePos.z; this.verts = nativeList; NativeList nativeList2 = jobData.origIndices; this.origIndices = nativeList2; NativeList nativeList3 = jobData.indices; this.indices = nativeList3; NativeList componentInfo = jobData.componentInfo; this.clusterInfo = componentInfo; NativeArray nativeArray = jobData.componentLod; this.componentLod = nativeArray; NativeArray nativeArray2 = jobData.triNormals; this.triNormals = nativeArray2; NativeArray nativeArray3 = jobData.triSizes; this.triSizes = nativeArray3; this.meshScale = (float)0; this.dynamicCluster = dynamicCluster; float3 @float; float z2 = @float.z; this.faceFactor = (float)0; this.distFactor = (float)0; this.eyePos.z = z2; } // Token: 0x06006F26 RID: 28454 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x6006F26")] [Address(RVA = "0x1F43390", Offset = "0x1F42390", VA = "0x181F43390", Slot = "4")] public void Execute() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x04004989 RID: 18825 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4004989")] [ReadOnly] private NativeList verts; // Token: 0x0400498A RID: 18826 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400498A")] [ReadOnly] public NativeList origIndices; // Token: 0x0400498B RID: 18827 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400498B")] [ReadOnly] private NativeList clusterInfo; // Token: 0x0400498C RID: 18828 [FieldOffset(Offset = "0x30")] [Token(Token = "0x400498C")] [ReadOnly] private NativeArray componentLod; // Token: 0x0400498D RID: 18829 [FieldOffset(Offset = "0x40")] [Token(Token = "0x400498D")] [ReadOnly] private float3 eyePos; // Token: 0x0400498E RID: 18830 [FieldOffset(Offset = "0x50")] [Token(Token = "0x400498E")] [ReadOnly] private NativeArray triNormals; // Token: 0x0400498F RID: 18831 [FieldOffset(Offset = "0x60")] [Token(Token = "0x400498F")] [ReadOnly] private NativeArray triSizes; // Token: 0x04004990 RID: 18832 [FieldOffset(Offset = "0x70")] [Token(Token = "0x4004990")] [ReadOnly] private bool dynamicCluster; // Token: 0x04004991 RID: 18833 [FieldOffset(Offset = "0x74")] [Token(Token = "0x4004991")] [ReadOnly] private float faceFactor; // Token: 0x04004992 RID: 18834 [FieldOffset(Offset = "0x78")] [Token(Token = "0x4004992")] [ReadOnly] private float meshScale; // Token: 0x04004993 RID: 18835 [FieldOffset(Offset = "0x7C")] [Token(Token = "0x4004993")] [ReadOnly] private float distFactor; // Token: 0x04004994 RID: 18836 [FieldOffset(Offset = "0x80")] [Token(Token = "0x4004994")] private NativeList indices; } }