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

// Token: 0x020003E2 RID: 994
public class WaterReflection : MonoBehaviour
{
	// Token: 0x06007B5A RID: 31578 RVA: 0x001F7A18 File Offset: 0x001F5C18
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619287, XrefRangeEnd = 619303, 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: 0x06007B5B RID: 31579 RVA: 0x001F7A5C File Offset: 0x001F5C5C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619303, XrefRangeEnd = 619304, 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: 0x06007B5C RID: 31580 RVA: 0x001F7AA0 File Offset: 0x001F5CA0
	[CallerCount(1)]
	[CachedScanResults(RefRangeStart = 619315, RefRangeEnd = 619316, XrefRangeStart = 619304, XrefRangeEnd = 619315, 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: 0x06007B5D RID: 31581 RVA: 0x001F7AE4 File Offset: 0x001F5CE4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 619316, XrefRangeEnd = 619326, 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: 0x06007B5E RID: 31582 RVA: 0x001F7B28 File Offset: 0x001F5D28
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06007B5F RID: 31583 RVA: 0x001F7B74 File Offset: 0x001F5D74
	// 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, 100672660);
		WaterReflection.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, 100672661);
		WaterReflection.NativeMethodInfoPtr_RenderReflection_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, 100672662);
		WaterReflection.NativeMethodInfoPtr_Validate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, 100672663);
		WaterReflection.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<WaterReflection>.NativeClassPtr, 100672664);
	}

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

	// Token: 0x17002A00 RID: 10752
	// (get) Token: 0x06007B61 RID: 31585 RVA: 0x001F7CBC File Offset: 0x001F5EBC
	// (set) Token: 0x06007B62 RID: 31586 RVA: 0x001F7CF0 File Offset: 0x001F5EF0
	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: 0x17002A01 RID: 10753
	// (get) Token: 0x06007B63 RID: 31587 RVA: 0x001F7D18 File Offset: 0x001F5F18
	// (set) Token: 0x06007B64 RID: 31588 RVA: 0x001F7D4C File Offset: 0x001F5F4C
	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: 0x17002A02 RID: 10754
	// (get) Token: 0x06007B65 RID: 31589 RVA: 0x001F7D74 File Offset: 0x001F5F74
	// (set) Token: 0x06007B66 RID: 31590 RVA: 0x001F7DA8 File Offset: 0x001F5FA8
	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: 0x17002A03 RID: 10755
	// (get) Token: 0x06007B67 RID: 31591 RVA: 0x001F7DD0 File Offset: 0x001F5FD0
	// (set) Token: 0x06007B68 RID: 31592 RVA: 0x001F7E04 File Offset: 0x001F6004
	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: 0x17002A04 RID: 10756
	// (get) Token: 0x06007B69 RID: 31593 RVA: 0x001F7E2C File Offset: 0x001F602C
	// (set) Token: 0x06007B6A RID: 31594 RVA: 0x001F7E54 File Offset: 0x001F6054
	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: 0x17002A05 RID: 10757
	// (get) Token: 0x06007B6B RID: 31595 RVA: 0x001F7E78 File Offset: 0x001F6078
	// (set) Token: 0x06007B6C RID: 31596 RVA: 0x001F7EA0 File Offset: 0x001F60A0
	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: 0x17002A06 RID: 10758
	// (get) Token: 0x06007B6D RID: 31597 RVA: 0x001F7EC4 File Offset: 0x001F60C4
	// (set) Token: 0x06007B6E RID: 31598 RVA: 0x001F7EEC File Offset: 0x001F60EC
	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: 0x17002A07 RID: 10759
	// (get) Token: 0x06007B6F RID: 31599 RVA: 0x001F7F10 File Offset: 0x001F6110
	// (set) Token: 0x06007B70 RID: 31600 RVA: 0x001F7F44 File Offset: 0x001F6144
	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: 0x17002A08 RID: 10760
	// (get) Token: 0x06007B71 RID: 31601 RVA: 0x001F7F6C File Offset: 0x001F616C
	// (set) Token: 0x06007B72 RID: 31602 RVA: 0x001F7FA0 File Offset: 0x001F61A0
	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: 0x040052E1 RID: 21217
	private static readonly IntPtr NativeFieldInfoPtr_mainCamera;

	// Token: 0x040052E2 RID: 21218
	private static readonly IntPtr NativeFieldInfoPtr_reflectionCamera;

	// Token: 0x040052E3 RID: 21219
	private static readonly IntPtr NativeFieldInfoPtr_reflectionPlane;

	// Token: 0x040052E4 RID: 21220
	private static readonly IntPtr NativeFieldInfoPtr_outputTexture;

	// Token: 0x040052E5 RID: 21221
	private static readonly IntPtr NativeFieldInfoPtr_copyCameraParamerers;

	// Token: 0x040052E6 RID: 21222
	private static readonly IntPtr NativeFieldInfoPtr_verticalOffset;

	// Token: 0x040052E7 RID: 21223
	private static readonly IntPtr NativeFieldInfoPtr_isReady;

	// Token: 0x040052E8 RID: 21224
	private static readonly IntPtr NativeFieldInfoPtr_mainCamTransform;

	// Token: 0x040052E9 RID: 21225
	private static readonly IntPtr NativeFieldInfoPtr_reflectionCamTransform;

	// Token: 0x040052EA RID: 21226
	private static readonly IntPtr NativeMethodInfoPtr_Awake_Public_Void_0;

	// Token: 0x040052EB RID: 21227
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x040052EC RID: 21228
	private static readonly IntPtr NativeMethodInfoPtr_RenderReflection_Private_Void_0;

	// Token: 0x040052ED RID: 21229
	private static readonly IntPtr NativeMethodInfoPtr_Validate_Private_Void_0;

	// Token: 0x040052EE RID: 21230
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
