using System;
using Cpp2IlInjected;
using UnityEngine;

namespace MTAssets.UltimateLODSystem
{
	// Token: 0x02000658 RID: 1624
	[Token(Token = "0x2000658")]
	[AddComponentMenu("")]
	public class UltimateLevelOfDetailMeshes : MonoBehaviour
	{
		// Token: 0x060032EE RID: 13038 RVA: 0x0006D4CC File Offset: 0x0006B6CC
		[Token(Token = "0x60032EE")]
		[Address(RVA = "0x2EF530", Offset = "0x2EE530", VA = "0x1802EF530")]
		public UltimateLevelOfDetail GetResponsibleUlodComponent()
		{
			return this.responsibleUlod;
		}

		// Token: 0x060032EF RID: 13039 RVA: 0x0006D4E0 File Offset: 0x0006B6E0
		[Token(Token = "0x60032EF")]
		[Address(RVA = "0x4AB5D0", Offset = "0x4AA5D0", VA = "0x1804AB5D0")]
		public int GetQuantityOfLods()
		{
			return this.responsibleUlod.levelsOfDetailToGenerate;
		}

		// Token: 0x060032F0 RID: 13040 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60032F0")]
		[Address(RVA = "0x4AB770", Offset = "0x4AA770", VA = "0x1804AB770")]
		public void SetMeshOfThisLodGroup(int level, Mesh newMesh)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060032F1 RID: 13041 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60032F1")]
		[Address(RVA = "0x4AB4D0", Offset = "0x4AA4D0", VA = "0x1804AB4D0")]
		public Mesh GetMeshOfThisLodGroup(int level)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060032F2 RID: 13042 RVA: 0x0006D500 File Offset: 0x0006B700
		[Token(Token = "0x60032F2")]
		[Address(RVA = "0x4AB8F0", Offset = "0x4AA8F0", VA = "0x1804AB8F0")]
		public bool isMaterialChangesEnabledForThisMesh()
		{
			return this.responsibleUlod.enableMaterialsChanges;
		}

		// Token: 0x060032F3 RID: 13043 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60032F3")]
		[Address(RVA = "0x4AB5F0", Offset = "0x4AA5F0", VA = "0x1804AB5F0")]
		public void SetMaterialArrayOfThisLodGroup(int level, Material[] newMaterialArray)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060032F4 RID: 13044 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60032F4")]
		[Address(RVA = "0x4AB370", Offset = "0x4AA370", VA = "0x1804AB370")]
		public Material[] GetMaterialArrayOfThisLodGroup(int level)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060032F5 RID: 13045 RVA: 0x0006D524 File Offset: 0x0006B724
		[Token(Token = "0x60032F5")]
		[Address(RVA = "0x4AB8E0", Offset = "0x4AA8E0", VA = "0x1804AB8E0")]
		public UltimateLevelOfDetailMeshes()
		{
		}

		// Token: 0x04003D5E RID: 15710
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003D5E")]
		[HideInInspector]
		public UltimateLevelOfDetail responsibleUlod;

		// Token: 0x04003D5F RID: 15711
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4003D5F")]
		[HideInInspector]
		public int idOfOriginalMeshItemOfThisInResponsibleUlod = (int)((ulong)4294967295L);
	}
}
