using System;
using Cpp2IlInjected;
using UnityEngine;

namespace MTAssets.UltimateLODSystem
{
	// Token: 0x02000657 RID: 1623
	[Token(Token = "0x2000657")]
	[AddComponentMenu("")]
	public class UltimateLevelOfDetailGlobal : MonoBehaviour
	{
		// Token: 0x060032E7 RID: 13031 RVA: 0x0006D468 File Offset: 0x0006B668
		[Token(Token = "0x60032E7")]
		[Address(RVA = "0x4AB310", Offset = "0x4AA310", VA = "0x1804AB310")]
		public static bool isGlobalULodSystemEnabled()
		{
			return UltimateLevelOfDetailGlobal.enableGlobalUlodSystem;
		}

		// Token: 0x060032E8 RID: 13032 RVA: 0x0006D47C File Offset: 0x0006B67C
		[Token(Token = "0x60032E8")]
		[Address(RVA = "0x4AAFE0", Offset = "0x4A9FE0", VA = "0x1804AAFE0")]
		public static void EnableGlobalULodSystem(bool enable)
		{
			UltimateLevelOfDetailGlobal.enableGlobalUlodSystem = enable;
		}

		// Token: 0x060032E9 RID: 13033 RVA: 0x0006D490 File Offset: 0x0006B690
		[Token(Token = "0x60032E9")]
		[Address(RVA = "0x4AB230", Offset = "0x4AA230", VA = "0x1804AB230")]
		public static void SetGlobalLodDistanceMultiplier(float multiplier)
		{
			UltimateLevelOfDetailGlobal.lodDistanceMultiplier = multiplier;
		}

		// Token: 0x060032EA RID: 13034 RVA: 0x0006D4A4 File Offset: 0x0006B6A4
		[Token(Token = "0x60032EA")]
		[Address(RVA = "0x4AB040", Offset = "0x4AA040", VA = "0x1804AB040")]
		public static float GetGlobalLodDistanceMultiplier()
		{
			return UltimateLevelOfDetailGlobal.lodDistanceMultiplier;
		}

		// Token: 0x060032EB RID: 13035 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60032EB")]
		[Address(RVA = "0x4AB0A0", Offset = "0x4AA0A0", VA = "0x1804AB0A0")]
		public static Mesh GetSimplifiedVersionOfThisMesh(Mesh meshToSimplify, bool isSkinnedMesh, bool skinnedAnimsCompatibilityMode, bool simplificationDestroyerMode, bool preventArtifacts, float percentOfVerticesOfSimplifyiedVersion)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060032EC RID: 13036 RVA: 0x0006D4B8 File Offset: 0x0006B6B8
		[Token(Token = "0x60032EC")]
		[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
		public UltimateLevelOfDetailGlobal()
		{
		}

		// Token: 0x060032ED RID: 13037 RVA: 0x000020D3 File Offset: 0x000002D3
		// Note: this type is marked as 'beforefieldinit'.
		[Token(Token = "0x60032ED")]
		[Address(RVA = "0x4AB2A0", Offset = "0x4AA2A0", VA = "0x1804AB2A0")]
		static UltimateLevelOfDetailGlobal()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003D5B RID: 15707
		[Token(Token = "0x4003D5B")]
		private static bool enableGlobalUlodSystem;

		// Token: 0x04003D5C RID: 15708
		[Token(Token = "0x4003D5C")]
		private static float lodDistanceMultiplier;

		// Token: 0x04003D5D RID: 15709
		[Token(Token = "0x4003D5D")]
		public static Camera currentCameraThatIsOnTopOfScreenInThisScene;
	}
}
