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

namespace Bitgem.VFX.StylisedWater
{
	// Token: 0x020003EE RID: 1006
	public class WaterVolumeBox : WaterVolumeBase
	{
		// Token: 0x06007C94 RID: 31892 RVA: 0x001FC988 File Offset: 0x001FAB88
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620575, XrefRangeEnd = 620582, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void GenerateTiles(ref Il2CppObjectBase _tiles)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtrNotNull(_tiles);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), WaterVolumeBox.NativeMethodInfoPtr_GenerateTiles_Protected_Virtual_Void_byref_Il2CppObjectBase_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x06007C95 RID: 31893 RVA: 0x001FC9F0 File Offset: 0x001FABF0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620582, XrefRangeEnd = 620585, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void Validate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), WaterVolumeBox.NativeMethodInfoPtr_Validate_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007C96 RID: 31894 RVA: 0x001FCA40 File Offset: 0x001FAC40
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 620585, XrefRangeEnd = 620587, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe WaterVolumeBox()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<WaterVolumeBox>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(WaterVolumeBox.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007C97 RID: 31895 RVA: 0x001FCA8C File Offset: 0x001FAC8C
		// Note: this type is marked as 'beforefieldinit'.
		static WaterVolumeBox()
		{
			Il2CppClassPointerStore<WaterVolumeBox>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Bitgem.VFX.StylisedWater", "WaterVolumeBox");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<WaterVolumeBox>.NativeClassPtr);
			WaterVolumeBox.NativeFieldInfoPtr_Dimensions = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterVolumeBox>.NativeClassPtr, "Dimensions");
			WaterVolumeBox.NativeMethodInfoPtr_GenerateTiles_Protected_Virtual_Void_byref_Il2CppObjectBase_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterVolumeBox>.NativeClassPtr, 100672757);
			WaterVolumeBox.NativeMethodInfoPtr_Validate_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterVolumeBox>.NativeClassPtr, 100672758);
			WaterVolumeBox.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterVolumeBox>.NativeClassPtr, 100672759);
		}

		// Token: 0x06007C98 RID: 31896 RVA: 0x001FCB0C File Offset: 0x001FAD0C
		public WaterVolumeBox(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002A74 RID: 10868
		// (get) Token: 0x06007C99 RID: 31897 RVA: 0x001FCB18 File Offset: 0x001FAD18
		// (set) Token: 0x06007C9A RID: 31898 RVA: 0x001FCB40 File Offset: 0x001FAD40
		public unsafe Vector3 Dimensions
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterVolumeBox.NativeFieldInfoPtr_Dimensions);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterVolumeBox.NativeFieldInfoPtr_Dimensions)) = value;
			}
		}

		// Token: 0x040053A8 RID: 21416
		private static readonly IntPtr NativeFieldInfoPtr_Dimensions;

		// Token: 0x040053A9 RID: 21417
		private static readonly IntPtr NativeMethodInfoPtr_GenerateTiles_Protected_Virtual_Void_byref_Il2CppObjectBase_0;

		// Token: 0x040053AA RID: 21418
		private static readonly IntPtr NativeMethodInfoPtr_Validate_Public_Virtual_Void_0;

		// Token: 0x040053AB RID: 21419
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
