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

namespace Bitgem.VFX.StylisedWater
{
	// Token: 0x02000396 RID: 918
	public class WaterVolumeBox : WaterVolumeBase
	{
		// Token: 0x06007441 RID: 29761 RVA: 0x001D9C4C File Offset: 0x001D7E4C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 588270, XrefRangeEnd = 588277, 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: 0x06007442 RID: 29762 RVA: 0x001D9CB4 File Offset: 0x001D7EB4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 588277, XrefRangeEnd = 588280, 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: 0x06007443 RID: 29763 RVA: 0x001D9D04 File Offset: 0x001D7F04
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 588280, XrefRangeEnd = 588282, 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: 0x06007444 RID: 29764 RVA: 0x001D9D50 File Offset: 0x001D7F50
		// 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, 100672044);
			WaterVolumeBox.NativeMethodInfoPtr_Validate_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterVolumeBox>.NativeClassPtr, 100672045);
			WaterVolumeBox.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterVolumeBox>.NativeClassPtr, 100672046);
		}

		// Token: 0x06007445 RID: 29765 RVA: 0x001D9DD0 File Offset: 0x001D7FD0
		public WaterVolumeBox(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170027D9 RID: 10201
		// (get) Token: 0x06007446 RID: 29766 RVA: 0x001D9DDC File Offset: 0x001D7FDC
		// (set) Token: 0x06007447 RID: 29767 RVA: 0x001D9E04 File Offset: 0x001D8004
		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: 0x04004DFF RID: 19967
		private static readonly IntPtr NativeFieldInfoPtr_Dimensions;

		// Token: 0x04004E00 RID: 19968
		private static readonly IntPtr NativeMethodInfoPtr_GenerateTiles_Protected_Virtual_Void_byref_Il2CppObjectBase_0;

		// Token: 0x04004E01 RID: 19969
		private static readonly IntPtr NativeMethodInfoPtr_Validate_Public_Virtual_Void_0;

		// Token: 0x04004E02 RID: 19970
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
