using System; using System.Runtime.InteropServices; using Il2CppInterop.Runtime; using Il2CppSystem; namespace MTAssets.UltimateLODSystem.MeshSimplifier { // Token: 0x02000632 RID: 1586 [Serializable] [StructLayout(LayoutKind.Explicit)] public struct SimplificationOptions { // Token: 0x0600A216 RID: 41494 RVA: 0x002997C0 File Offset: 0x002979C0 // Note: this type is marked as 'beforefieldinit'. static SimplificationOptions() { Il2CppClassPointerStore.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "MTAssets.UltimateLODSystem.MeshSimplifier", "SimplificationOptions"); IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore.NativeClassPtr); SimplificationOptions.NativeFieldInfoPtr_Default = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "Default"); SimplificationOptions.NativeFieldInfoPtr_PreserveBorderEdges = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "PreserveBorderEdges"); SimplificationOptions.NativeFieldInfoPtr_PreserveUVSeamEdges = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "PreserveUVSeamEdges"); SimplificationOptions.NativeFieldInfoPtr_PreserveUVFoldoverEdges = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "PreserveUVFoldoverEdges"); SimplificationOptions.NativeFieldInfoPtr_PreserveSurfaceCurvature = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "PreserveSurfaceCurvature"); SimplificationOptions.NativeFieldInfoPtr_EnableSmartLink = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "EnableSmartLink"); SimplificationOptions.NativeFieldInfoPtr_VertexLinkDistance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "VertexLinkDistance"); SimplificationOptions.NativeFieldInfoPtr_MaxIterationCount = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "MaxIterationCount"); SimplificationOptions.NativeFieldInfoPtr_Agressiveness = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "Agressiveness"); SimplificationOptions.NativeFieldInfoPtr_ManualUVComponentCount = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "ManualUVComponentCount"); SimplificationOptions.NativeFieldInfoPtr_UVComponentCount = IL2CPP.GetIl2CppField(Il2CppClassPointerStore.NativeClassPtr, "UVComponentCount"); } // Token: 0x0600A217 RID: 41495 RVA: 0x002998CC File Offset: 0x00297ACC public Object BoxIl2CppObject() { return new Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore.NativeClassPtr, ref this)); } // Token: 0x170036E5 RID: 14053 // (get) Token: 0x0600A218 RID: 41496 RVA: 0x002998E0 File Offset: 0x00297AE0 // (set) Token: 0x0600A219 RID: 41497 RVA: 0x002998FE File Offset: 0x00297AFE public unsafe static SimplificationOptions Default { get { SimplificationOptions simplificationOptions; IL2CPP.il2cpp_field_static_get_value(SimplificationOptions.NativeFieldInfoPtr_Default, (void*)(&simplificationOptions)); return simplificationOptions; } set { IL2CPP.il2cpp_field_static_set_value(SimplificationOptions.NativeFieldInfoPtr_Default, (void*)(&value)); } } // Token: 0x04006CBD RID: 27837 private static readonly IntPtr NativeFieldInfoPtr_Default; // Token: 0x04006CBE RID: 27838 private static readonly IntPtr NativeFieldInfoPtr_PreserveBorderEdges; // Token: 0x04006CBF RID: 27839 private static readonly IntPtr NativeFieldInfoPtr_PreserveUVSeamEdges; // Token: 0x04006CC0 RID: 27840 private static readonly IntPtr NativeFieldInfoPtr_PreserveUVFoldoverEdges; // Token: 0x04006CC1 RID: 27841 private static readonly IntPtr NativeFieldInfoPtr_PreserveSurfaceCurvature; // Token: 0x04006CC2 RID: 27842 private static readonly IntPtr NativeFieldInfoPtr_EnableSmartLink; // Token: 0x04006CC3 RID: 27843 private static readonly IntPtr NativeFieldInfoPtr_VertexLinkDistance; // Token: 0x04006CC4 RID: 27844 private static readonly IntPtr NativeFieldInfoPtr_MaxIterationCount; // Token: 0x04006CC5 RID: 27845 private static readonly IntPtr NativeFieldInfoPtr_Agressiveness; // Token: 0x04006CC6 RID: 27846 private static readonly IntPtr NativeFieldInfoPtr_ManualUVComponentCount; // Token: 0x04006CC7 RID: 27847 private static readonly IntPtr NativeFieldInfoPtr_UVComponentCount; // Token: 0x04006CC8 RID: 27848 [FieldOffset(0)] [MarshalAs(UnmanagedType.U1)] public bool PreserveBorderEdges; // Token: 0x04006CC9 RID: 27849 [FieldOffset(1)] [MarshalAs(UnmanagedType.U1)] public bool PreserveUVSeamEdges; // Token: 0x04006CCA RID: 27850 [FieldOffset(2)] [MarshalAs(UnmanagedType.U1)] public bool PreserveUVFoldoverEdges; // Token: 0x04006CCB RID: 27851 [FieldOffset(3)] [MarshalAs(UnmanagedType.U1)] public bool PreserveSurfaceCurvature; // Token: 0x04006CCC RID: 27852 [FieldOffset(4)] [MarshalAs(UnmanagedType.U1)] public bool EnableSmartLink; // Token: 0x04006CCD RID: 27853 [FieldOffset(8)] public double VertexLinkDistance; // Token: 0x04006CCE RID: 27854 [FieldOffset(16)] public int MaxIterationCount; // Token: 0x04006CCF RID: 27855 [FieldOffset(24)] public double Agressiveness; // Token: 0x04006CD0 RID: 27856 [FieldOffset(32)] [MarshalAs(UnmanagedType.U1)] public bool ManualUVComponentCount; // Token: 0x04006CD1 RID: 27857 [FieldOffset(36)] public int UVComponentCount; } }