using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

namespace MTAssets.UltimateLODSystem
{
	// Token: 0x0200061E RID: 1566
	public class UltimateLevelOfDetailPivot : MonoBehaviour
	{
		// Token: 0x0600A066 RID: 41062 RVA: 0x00290F1C File Offset: 0x0028F11C
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe UltimateLevelOfDetailPivot()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UltimateLevelOfDetailPivot>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UltimateLevelOfDetailPivot.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600A067 RID: 41063 RVA: 0x00290F68 File Offset: 0x0028F168
		// Note: this type is marked as 'beforefieldinit'.
		static UltimateLevelOfDetailPivot()
		{
			Il2CppClassPointerStore<UltimateLevelOfDetailPivot>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "MTAssets.UltimateLODSystem", "UltimateLevelOfDetailPivot");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UltimateLevelOfDetailPivot>.NativeClassPtr);
			UltimateLevelOfDetailPivot.NativeFieldInfoPtr_targetUlodToChangePivot = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UltimateLevelOfDetailPivot>.NativeClassPtr, "targetUlodToChangePivot");
			UltimateLevelOfDetailPivot.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UltimateLevelOfDetailPivot>.NativeClassPtr, 100675640);
		}

		// Token: 0x0600A068 RID: 41064 RVA: 0x0000351C File Offset: 0x0000171C
		public UltimateLevelOfDetailPivot(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700366C RID: 13932
		// (get) Token: 0x0600A069 RID: 41065 RVA: 0x00290FC0 File Offset: 0x0028F1C0
		// (set) Token: 0x0600A06A RID: 41066 RVA: 0x00290FF4 File Offset: 0x0028F1F4
		public unsafe UltimateLevelOfDetail targetUlodToChangePivot
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UltimateLevelOfDetailPivot.NativeFieldInfoPtr_targetUlodToChangePivot);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new UltimateLevelOfDetail(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UltimateLevelOfDetailPivot.NativeFieldInfoPtr_targetUlodToChangePivot), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04006B69 RID: 27497
		private static readonly IntPtr NativeFieldInfoPtr_targetUlodToChangePivot;

		// Token: 0x04006B6A RID: 27498
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
