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

// Token: 0x0200022B RID: 555
public class LOD_Grass : MonoBehaviour
{
	// Token: 0x060050C9 RID: 20681 RVA: 0x00141E34 File Offset: 0x00140034
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552299, XrefRangeEnd = 552343, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LOD_Grass.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060050CA RID: 20682 RVA: 0x00141E78 File Offset: 0x00140078
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552343, XrefRangeEnd = 552363, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LOD_Grass.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060050CB RID: 20683 RVA: 0x00141EBC File Offset: 0x001400BC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552363, XrefRangeEnd = 552364, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe LOD_Grass()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LOD_Grass.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060050CC RID: 20684 RVA: 0x00141F08 File Offset: 0x00140108
	// Note: this type is marked as 'beforefieldinit'.
	static LOD_Grass()
	{
		Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "LOD_Grass");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr);
		LOD_Grass.NativeFieldInfoPtr_g_MainCamera = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "g_MainCamera");
		LOD_Grass.NativeFieldInfoPtr_g_SMR = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "g_SMR");
		LOD_Grass.NativeFieldInfoPtr_g_MR = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "g_MR");
		LOD_Grass.NativeFieldInfoPtr_CulledDistance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "CulledDistance");
		LOD_Grass.NativeFieldInfoPtr_DefSize = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "DefSize");
		LOD_Grass.NativeFieldInfoPtr_g_fHalfDis = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "g_fHalfDis");
		LOD_Grass.NativeFieldInfoPtr_g_fSize = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "g_fSize");
		LOD_Grass.NativeFieldInfoPtr_g_OriginalX = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "g_OriginalX");
		LOD_Grass.NativeFieldInfoPtr_g_OriginalY = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "g_OriginalY");
		LOD_Grass.NativeFieldInfoPtr_g_OriginalZ = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, "g_OriginalZ");
		LOD_Grass.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, 100668695);
		LOD_Grass.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, 100668696);
		LOD_Grass.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, 100668697);
	}

	// Token: 0x060050CD RID: 20685 RVA: 0x0000351C File Offset: 0x0000171C
	public LOD_Grass(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001CE0 RID: 7392
	// (get) Token: 0x060050CE RID: 20686 RVA: 0x0014203C File Offset: 0x0014023C
	// (set) Token: 0x060050CF RID: 20687 RVA: 0x00142070 File Offset: 0x00140270
	public unsafe Transform g_MainCamera
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_MainCamera);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Transform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_MainCamera), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CE1 RID: 7393
	// (get) Token: 0x060050D0 RID: 20688 RVA: 0x00142098 File Offset: 0x00140298
	// (set) Token: 0x060050D1 RID: 20689 RVA: 0x001420CC File Offset: 0x001402CC
	public unsafe SkinnedMeshRenderer g_SMR
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_SMR);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new SkinnedMeshRenderer(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_SMR), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CE2 RID: 7394
	// (get) Token: 0x060050D2 RID: 20690 RVA: 0x001420F4 File Offset: 0x001402F4
	// (set) Token: 0x060050D3 RID: 20691 RVA: 0x00142128 File Offset: 0x00140328
	public unsafe MeshRenderer g_MR
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_MR);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new MeshRenderer(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_MR), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CE3 RID: 7395
	// (get) Token: 0x060050D4 RID: 20692 RVA: 0x00142150 File Offset: 0x00140350
	// (set) Token: 0x060050D5 RID: 20693 RVA: 0x00142178 File Offset: 0x00140378
	public unsafe float CulledDistance
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_CulledDistance);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_CulledDistance)) = value;
		}
	}

	// Token: 0x17001CE4 RID: 7396
	// (get) Token: 0x060050D6 RID: 20694 RVA: 0x0014219C File Offset: 0x0014039C
	// (set) Token: 0x060050D7 RID: 20695 RVA: 0x001421C4 File Offset: 0x001403C4
	public unsafe float DefSize
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_DefSize);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_DefSize)) = value;
		}
	}

	// Token: 0x17001CE5 RID: 7397
	// (get) Token: 0x060050D8 RID: 20696 RVA: 0x001421E8 File Offset: 0x001403E8
	// (set) Token: 0x060050D9 RID: 20697 RVA: 0x00142210 File Offset: 0x00140410
	public unsafe float g_fHalfDis
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_fHalfDis);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_fHalfDis)) = value;
		}
	}

	// Token: 0x17001CE6 RID: 7398
	// (get) Token: 0x060050DA RID: 20698 RVA: 0x00142234 File Offset: 0x00140434
	// (set) Token: 0x060050DB RID: 20699 RVA: 0x0014225C File Offset: 0x0014045C
	public unsafe float g_fSize
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_fSize);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_fSize)) = value;
		}
	}

	// Token: 0x17001CE7 RID: 7399
	// (get) Token: 0x060050DC RID: 20700 RVA: 0x00142280 File Offset: 0x00140480
	// (set) Token: 0x060050DD RID: 20701 RVA: 0x001422A8 File Offset: 0x001404A8
	public unsafe float g_OriginalX
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_OriginalX);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_OriginalX)) = value;
		}
	}

	// Token: 0x17001CE8 RID: 7400
	// (get) Token: 0x060050DE RID: 20702 RVA: 0x001422CC File Offset: 0x001404CC
	// (set) Token: 0x060050DF RID: 20703 RVA: 0x001422F4 File Offset: 0x001404F4
	public unsafe float g_OriginalY
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_OriginalY);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_OriginalY)) = value;
		}
	}

	// Token: 0x17001CE9 RID: 7401
	// (get) Token: 0x060050E0 RID: 20704 RVA: 0x00142318 File Offset: 0x00140518
	// (set) Token: 0x060050E1 RID: 20705 RVA: 0x00142340 File Offset: 0x00140540
	public unsafe float g_OriginalZ
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_OriginalZ);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LOD_Grass.NativeFieldInfoPtr_g_OriginalZ)) = value;
		}
	}

	// Token: 0x0400358A RID: 13706
	private static readonly IntPtr NativeFieldInfoPtr_g_MainCamera;

	// Token: 0x0400358B RID: 13707
	private static readonly IntPtr NativeFieldInfoPtr_g_SMR;

	// Token: 0x0400358C RID: 13708
	private static readonly IntPtr NativeFieldInfoPtr_g_MR;

	// Token: 0x0400358D RID: 13709
	private static readonly IntPtr NativeFieldInfoPtr_CulledDistance;

	// Token: 0x0400358E RID: 13710
	private static readonly IntPtr NativeFieldInfoPtr_DefSize;

	// Token: 0x0400358F RID: 13711
	private static readonly IntPtr NativeFieldInfoPtr_g_fHalfDis;

	// Token: 0x04003590 RID: 13712
	private static readonly IntPtr NativeFieldInfoPtr_g_fSize;

	// Token: 0x04003591 RID: 13713
	private static readonly IntPtr NativeFieldInfoPtr_g_OriginalX;

	// Token: 0x04003592 RID: 13714
	private static readonly IntPtr NativeFieldInfoPtr_g_OriginalY;

	// Token: 0x04003593 RID: 13715
	private static readonly IntPtr NativeFieldInfoPtr_g_OriginalZ;

	// Token: 0x04003594 RID: 13716
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04003595 RID: 13717
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04003596 RID: 13718
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
