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

// Token: 0x0200026C RID: 620
public class LOD_Grass : MonoBehaviour
{
	// Token: 0x0600563A RID: 22074 RVA: 0x001587EC File Offset: 0x001569EC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 580514, XrefRangeEnd = 580558, 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: 0x0600563B RID: 22075 RVA: 0x00158830 File Offset: 0x00156A30
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 580558, XrefRangeEnd = 580578, 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: 0x0600563C RID: 22076 RVA: 0x00158874 File Offset: 0x00156A74
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 580578, XrefRangeEnd = 580579, 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: 0x0600563D RID: 22077 RVA: 0x001588C0 File Offset: 0x00156AC0
	// 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, 100669154);
		LOD_Grass.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, 100669155);
		LOD_Grass.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LOD_Grass>.NativeClassPtr, 100669156);
	}

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

	// Token: 0x17001E81 RID: 7809
	// (get) Token: 0x0600563F RID: 22079 RVA: 0x001589F4 File Offset: 0x00156BF4
	// (set) Token: 0x06005640 RID: 22080 RVA: 0x00158A28 File Offset: 0x00156C28
	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: 0x17001E82 RID: 7810
	// (get) Token: 0x06005641 RID: 22081 RVA: 0x00158A50 File Offset: 0x00156C50
	// (set) Token: 0x06005642 RID: 22082 RVA: 0x00158A84 File Offset: 0x00156C84
	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: 0x17001E83 RID: 7811
	// (get) Token: 0x06005643 RID: 22083 RVA: 0x00158AAC File Offset: 0x00156CAC
	// (set) Token: 0x06005644 RID: 22084 RVA: 0x00158AE0 File Offset: 0x00156CE0
	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: 0x17001E84 RID: 7812
	// (get) Token: 0x06005645 RID: 22085 RVA: 0x00158B08 File Offset: 0x00156D08
	// (set) Token: 0x06005646 RID: 22086 RVA: 0x00158B30 File Offset: 0x00156D30
	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: 0x17001E85 RID: 7813
	// (get) Token: 0x06005647 RID: 22087 RVA: 0x00158B54 File Offset: 0x00156D54
	// (set) Token: 0x06005648 RID: 22088 RVA: 0x00158B7C File Offset: 0x00156D7C
	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: 0x17001E86 RID: 7814
	// (get) Token: 0x06005649 RID: 22089 RVA: 0x00158BA0 File Offset: 0x00156DA0
	// (set) Token: 0x0600564A RID: 22090 RVA: 0x00158BC8 File Offset: 0x00156DC8
	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: 0x17001E87 RID: 7815
	// (get) Token: 0x0600564B RID: 22091 RVA: 0x00158BEC File Offset: 0x00156DEC
	// (set) Token: 0x0600564C RID: 22092 RVA: 0x00158C14 File Offset: 0x00156E14
	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: 0x17001E88 RID: 7816
	// (get) Token: 0x0600564D RID: 22093 RVA: 0x00158C38 File Offset: 0x00156E38
	// (set) Token: 0x0600564E RID: 22094 RVA: 0x00158C60 File Offset: 0x00156E60
	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: 0x17001E89 RID: 7817
	// (get) Token: 0x0600564F RID: 22095 RVA: 0x00158C84 File Offset: 0x00156E84
	// (set) Token: 0x06005650 RID: 22096 RVA: 0x00158CAC File Offset: 0x00156EAC
	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: 0x17001E8A RID: 7818
	// (get) Token: 0x06005651 RID: 22097 RVA: 0x00158CD0 File Offset: 0x00156ED0
	// (set) Token: 0x06005652 RID: 22098 RVA: 0x00158CF8 File Offset: 0x00156EF8
	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: 0x04003955 RID: 14677
	private static readonly IntPtr NativeFieldInfoPtr_g_MainCamera;

	// Token: 0x04003956 RID: 14678
	private static readonly IntPtr NativeFieldInfoPtr_g_SMR;

	// Token: 0x04003957 RID: 14679
	private static readonly IntPtr NativeFieldInfoPtr_g_MR;

	// Token: 0x04003958 RID: 14680
	private static readonly IntPtr NativeFieldInfoPtr_CulledDistance;

	// Token: 0x04003959 RID: 14681
	private static readonly IntPtr NativeFieldInfoPtr_DefSize;

	// Token: 0x0400395A RID: 14682
	private static readonly IntPtr NativeFieldInfoPtr_g_fHalfDis;

	// Token: 0x0400395B RID: 14683
	private static readonly IntPtr NativeFieldInfoPtr_g_fSize;

	// Token: 0x0400395C RID: 14684
	private static readonly IntPtr NativeFieldInfoPtr_g_OriginalX;

	// Token: 0x0400395D RID: 14685
	private static readonly IntPtr NativeFieldInfoPtr_g_OriginalY;

	// Token: 0x0400395E RID: 14686
	private static readonly IntPtr NativeFieldInfoPtr_g_OriginalZ;

	// Token: 0x0400395F RID: 14687
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04003960 RID: 14688
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04003961 RID: 14689
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
