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

namespace MTAssets.UltimateLODSystem
{
	// Token: 0x02000676 RID: 1654
	public class UltimateLevelOfDetailPivot : MonoBehaviour
	{
		// Token: 0x0600A8B9 RID: 43193 RVA: 0x002B3C58 File Offset: 0x002B1E58
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x0600A8BA RID: 43194 RVA: 0x002B3CA4 File Offset: 0x002B1EA4
		// 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, 100676353);
		}

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

		// Token: 0x17003907 RID: 14599
		// (get) Token: 0x0600A8BC RID: 43196 RVA: 0x002B3CFC File Offset: 0x002B1EFC
		// (set) Token: 0x0600A8BD RID: 43197 RVA: 0x002B3D30 File Offset: 0x002B1F30
		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: 0x04007112 RID: 28946
		private static readonly IntPtr NativeFieldInfoPtr_targetUlodToChangePivot;

		// Token: 0x04007113 RID: 28947
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
