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

// Token: 0x0200038A RID: 906
public class WaterReflection : MonoBehaviour
{
	// Token: 0x06007307 RID: 29447 RVA: 0x001D4CDC File Offset: 0x001D2EDC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586986, XrefRangeEnd = 587002, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Awake()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(WaterReflection.NativeMethodInfoPtr_Awake_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007308 RID: 29448 RVA: 0x001D4D20 File Offset: 0x001D2F20
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 587002, XrefRangeEnd = 587003, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(WaterReflection.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007309 RID: 29449 RVA: 0x001D4D64 File Offset: 0x001D2F64
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 587014, RefRangeEnd = 587015, XrefRangeStart = 587003, XrefRangeEnd = 587014, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void RenderReflection()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(WaterReflection.NativeMethodInfoPtr_RenderReflection_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600730A RID: 29450 RVA: 0x001D4DA8 File Offset: 0x001D2FA8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 587015, XrefRangeEnd = 587025, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Validate()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(WaterReflection.NativeMethodInfoPtr_Validate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600730B RID: 29451 RVA: 0x001D4DEC File Offset: 0x001D2FEC
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe WaterReflection()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(WaterReflection.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600730C RID: 29452 RVA: 0x001D4E38 File Offset: 0x001D3038
	// Note: this type is marked as 'beforefieldinit'.
	static WaterReflection()
	{
		Il2CppClassPointerStore<WaterReflection>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "WaterReflection");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr);
		WaterReflection.NativeFieldInfoPtr_mainCamera = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, "mainCamera");
		WaterReflection.NativeFieldInfoPtr_reflectionCamera = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, "reflectionCamera");
		WaterReflection.NativeFieldInfoPtr_reflectionPlane = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, "reflectionPlane");
		WaterReflection.NativeFieldInfoPtr_outputTexture = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, "outputTexture");
		WaterReflection.NativeFieldInfoPtr_copyCameraParamerers = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, "copyCameraParamerers");
		WaterReflection.NativeFieldInfoPtr_verticalOffset = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, "verticalOffset");
		WaterReflection.NativeFieldInfoPtr_isReady = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, "isReady");
		WaterReflection.NativeFieldInfoPtr_mainCamTransform = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, "mainCamTransform");
		WaterReflection.NativeFieldInfoPtr_reflectionCamTransform = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, "reflectionCamTransform");
		WaterReflection.NativeMethodInfoPtr_Awake_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, 100671947);
		WaterReflection.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, 100671948);
		WaterReflection.NativeMethodInfoPtr_RenderReflection_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, 100671949);
		WaterReflection.NativeMethodInfoPtr_Validate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, 100671950);
		WaterReflection.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, 100671951);
	}

	// Token: 0x0600730D RID: 29453 RVA: 0x0000351C File Offset: 0x0000171C
	public WaterReflection(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002765 RID: 10085
	// (get) Token: 0x0600730E RID: 29454 RVA: 0x001D4F80 File Offset: 0x001D3180
	// (set) Token: 0x0600730F RID: 29455 RVA: 0x001D4FB4 File Offset: 0x001D31B4
	public unsafe Camera mainCamera
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_mainCamera);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Camera(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_mainCamera), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002766 RID: 10086
	// (get) Token: 0x06007310 RID: 29456 RVA: 0x001D4FDC File Offset: 0x001D31DC
	// (set) Token: 0x06007311 RID: 29457 RVA: 0x001D5010 File Offset: 0x001D3210
	public unsafe Camera reflectionCamera
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_reflectionCamera);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Camera(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_reflectionCamera), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002767 RID: 10087
	// (get) Token: 0x06007312 RID: 29458 RVA: 0x001D5038 File Offset: 0x001D3238
	// (set) Token: 0x06007313 RID: 29459 RVA: 0x001D506C File Offset: 0x001D326C
	public unsafe Transform reflectionPlane
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_reflectionPlane);
			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(WaterReflection.NativeFieldInfoPtr_reflectionPlane), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002768 RID: 10088
	// (get) Token: 0x06007314 RID: 29460 RVA: 0x001D5094 File Offset: 0x001D3294
	// (set) Token: 0x06007315 RID: 29461 RVA: 0x001D50C8 File Offset: 0x001D32C8
	public unsafe RenderTexture outputTexture
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_outputTexture);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new RenderTexture(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_outputTexture), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17002769 RID: 10089
	// (get) Token: 0x06007316 RID: 29462 RVA: 0x001D50F0 File Offset: 0x001D32F0
	// (set) Token: 0x06007317 RID: 29463 RVA: 0x001D5118 File Offset: 0x001D3318
	public unsafe bool copyCameraParamerers
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_copyCameraParamerers);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_copyCameraParamerers)) = value;
		}
	}

	// Token: 0x1700276A RID: 10090
	// (get) Token: 0x06007318 RID: 29464 RVA: 0x001D513C File Offset: 0x001D333C
	// (set) Token: 0x06007319 RID: 29465 RVA: 0x001D5164 File Offset: 0x001D3364
	public unsafe float verticalOffset
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_verticalOffset);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_verticalOffset)) = value;
		}
	}

	// Token: 0x1700276B RID: 10091
	// (get) Token: 0x0600731A RID: 29466 RVA: 0x001D5188 File Offset: 0x001D3388
	// (set) Token: 0x0600731B RID: 29467 RVA: 0x001D51B0 File Offset: 0x001D33B0
	public unsafe bool isReady
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_isReady);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_isReady)) = value;
		}
	}

	// Token: 0x1700276C RID: 10092
	// (get) Token: 0x0600731C RID: 29468 RVA: 0x001D51D4 File Offset: 0x001D33D4
	// (set) Token: 0x0600731D RID: 29469 RVA: 0x001D5208 File Offset: 0x001D3408
	public unsafe Transform mainCamTransform
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_mainCamTransform);
			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(WaterReflection.NativeFieldInfoPtr_mainCamTransform), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700276D RID: 10093
	// (get) Token: 0x0600731E RID: 29470 RVA: 0x001D5230 File Offset: 0x001D3430
	// (set) Token: 0x0600731F RID: 29471 RVA: 0x001D5264 File Offset: 0x001D3464
	public unsafe Transform reflectionCamTransform
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(WaterReflection.NativeFieldInfoPtr_reflectionCamTransform);
			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(WaterReflection.NativeFieldInfoPtr_reflectionCamTransform), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004D38 RID: 19768
	private static readonly IntPtr NativeFieldInfoPtr_mainCamera;

	// Token: 0x04004D39 RID: 19769
	private static readonly IntPtr NativeFieldInfoPtr_reflectionCamera;

	// Token: 0x04004D3A RID: 19770
	private static readonly IntPtr NativeFieldInfoPtr_reflectionPlane;

	// Token: 0x04004D3B RID: 19771
	private static readonly IntPtr NativeFieldInfoPtr_outputTexture;

	// Token: 0x04004D3C RID: 19772
	private static readonly IntPtr NativeFieldInfoPtr_copyCameraParamerers;

	// Token: 0x04004D3D RID: 19773
	private static readonly IntPtr NativeFieldInfoPtr_verticalOffset;

	// Token: 0x04004D3E RID: 19774
	private static readonly IntPtr NativeFieldInfoPtr_isReady;

	// Token: 0x04004D3F RID: 19775
	private static readonly IntPtr NativeFieldInfoPtr_mainCamTransform;

	// Token: 0x04004D40 RID: 19776
	private static readonly IntPtr NativeFieldInfoPtr_reflectionCamTransform;

	// Token: 0x04004D41 RID: 19777
	private static readonly IntPtr NativeMethodInfoPtr_Awake_Public_Void_0;

	// Token: 0x04004D42 RID: 19778
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004D43 RID: 19779
	private static readonly IntPtr NativeMethodInfoPtr_RenderReflection_Private_Void_0;

	// Token: 0x04004D44 RID: 19780
	private static readonly IntPtr NativeMethodInfoPtr_Validate_Private_Void_0;

	// Token: 0x04004D45 RID: 19781
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
