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

// Token: 0x02000215 RID: 533
public class StageEnvironmentSet : SceneEvent
{
	// Token: 0x06005078 RID: 20600 RVA: 0x00140B9C File Offset: 0x0013ED9C
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(StageEnvironmentSet.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005079 RID: 20601 RVA: 0x00140BE0 File Offset: 0x0013EDE0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573932, XrefRangeEnd = 573936, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(StageEnvironmentSet.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600507A RID: 20602 RVA: 0x00140C24 File Offset: 0x0013EE24
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573936, XrefRangeEnd = 573952, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OpenEvent()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), StageEnvironmentSet.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600507B RID: 20603 RVA: 0x00140C74 File Offset: 0x0013EE74
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573952, XrefRangeEnd = 573955, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void OnTriggerExit(Collider other)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(other);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), StageEnvironmentSet.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600507C RID: 20604 RVA: 0x00140CD8 File Offset: 0x0013EED8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 573955, XrefRangeEnd = 573956, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe StageEnvironmentSet()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(StageEnvironmentSet.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600507D RID: 20605 RVA: 0x00140D24 File Offset: 0x0013EF24
	// Note: this type is marked as 'beforefieldinit'.
	static StageEnvironmentSet()
	{
		Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "StageEnvironmentSet");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr);
		StageEnvironmentSet.NativeFieldInfoPtr_SkyBox = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "SkyBox");
		StageEnvironmentSet.NativeFieldInfoPtr_SkyBoxRotationSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "SkyBoxRotationSpeed");
		StageEnvironmentSet.NativeFieldInfoPtr_AmbientLightColor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "AmbientLightColor");
		StageEnvironmentSet.NativeFieldInfoPtr_g_fSkyBoxRotationSpeedVal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "g_fSkyBoxRotationSpeedVal");
		StageEnvironmentSet.NativeFieldInfoPtr_FogColor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "FogColor");
		StageEnvironmentSet.NativeFieldInfoPtr_FogDensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "FogDensity");
		StageEnvironmentSet.NativeFieldInfoPtr_DirectionLightEnable = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "DirectionLightEnable");
		StageEnvironmentSet.NativeFieldInfoPtr_DirectionalLightColor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "DirectionalLightColor");
		StageEnvironmentSet.NativeFieldInfoPtr_DirectionalLightIntensity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "DirectionalLightIntensity");
		StageEnvironmentSet.NativeFieldInfoPtr_g_matSkyBox = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, "g_matSkyBox");
		StageEnvironmentSet.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, 100668707);
		StageEnvironmentSet.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, 100668708);
		StageEnvironmentSet.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, 100668709);
		StageEnvironmentSet.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, 100668710);
		StageEnvironmentSet.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, 100668711);
	}

	// Token: 0x0600507E RID: 20606 RVA: 0x0012A4E8 File Offset: 0x001286E8
	public StageEnvironmentSet(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001CAA RID: 7338
	// (get) Token: 0x0600507F RID: 20607 RVA: 0x00140E80 File Offset: 0x0013F080
	// (set) Token: 0x06005080 RID: 20608 RVA: 0x00140EB4 File Offset: 0x0013F0B4
	public unsafe Material SkyBox
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_SkyBox);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Material(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_SkyBox), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001CAB RID: 7339
	// (get) Token: 0x06005081 RID: 20609 RVA: 0x00140EDC File Offset: 0x0013F0DC
	// (set) Token: 0x06005082 RID: 20610 RVA: 0x00140F04 File Offset: 0x0013F104
	public unsafe float SkyBoxRotationSpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_SkyBoxRotationSpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_SkyBoxRotationSpeed)) = value;
		}
	}

	// Token: 0x17001CAC RID: 7340
	// (get) Token: 0x06005083 RID: 20611 RVA: 0x00140F28 File Offset: 0x0013F128
	// (set) Token: 0x06005084 RID: 20612 RVA: 0x00140F50 File Offset: 0x0013F150
	public unsafe Color AmbientLightColor
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_AmbientLightColor);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_AmbientLightColor)) = value;
		}
	}

	// Token: 0x17001CAD RID: 7341
	// (get) Token: 0x06005085 RID: 20613 RVA: 0x00140F74 File Offset: 0x0013F174
	// (set) Token: 0x06005086 RID: 20614 RVA: 0x00140F9C File Offset: 0x0013F19C
	public unsafe float g_fSkyBoxRotationSpeedVal
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_g_fSkyBoxRotationSpeedVal);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_g_fSkyBoxRotationSpeedVal)) = value;
		}
	}

	// Token: 0x17001CAE RID: 7342
	// (get) Token: 0x06005087 RID: 20615 RVA: 0x00140FC0 File Offset: 0x0013F1C0
	// (set) Token: 0x06005088 RID: 20616 RVA: 0x00140FE8 File Offset: 0x0013F1E8
	public unsafe Color FogColor
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_FogColor);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_FogColor)) = value;
		}
	}

	// Token: 0x17001CAF RID: 7343
	// (get) Token: 0x06005089 RID: 20617 RVA: 0x0014100C File Offset: 0x0013F20C
	// (set) Token: 0x0600508A RID: 20618 RVA: 0x00141034 File Offset: 0x0013F234
	public unsafe float FogDensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_FogDensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_FogDensity)) = value;
		}
	}

	// Token: 0x17001CB0 RID: 7344
	// (get) Token: 0x0600508B RID: 20619 RVA: 0x00141058 File Offset: 0x0013F258
	// (set) Token: 0x0600508C RID: 20620 RVA: 0x00141080 File Offset: 0x0013F280
	public unsafe bool DirectionLightEnable
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_DirectionLightEnable);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_DirectionLightEnable)) = value;
		}
	}

	// Token: 0x17001CB1 RID: 7345
	// (get) Token: 0x0600508D RID: 20621 RVA: 0x001410A4 File Offset: 0x0013F2A4
	// (set) Token: 0x0600508E RID: 20622 RVA: 0x001410CC File Offset: 0x0013F2CC
	public unsafe Color DirectionalLightColor
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_DirectionalLightColor);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_DirectionalLightColor)) = value;
		}
	}

	// Token: 0x17001CB2 RID: 7346
	// (get) Token: 0x0600508F RID: 20623 RVA: 0x001410F0 File Offset: 0x0013F2F0
	// (set) Token: 0x06005090 RID: 20624 RVA: 0x00141118 File Offset: 0x0013F318
	public unsafe float DirectionalLightIntensity
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_DirectionalLightIntensity);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_DirectionalLightIntensity)) = value;
		}
	}

	// Token: 0x17001CB3 RID: 7347
	// (get) Token: 0x06005091 RID: 20625 RVA: 0x0014113C File Offset: 0x0013F33C
	// (set) Token: 0x06005092 RID: 20626 RVA: 0x00141170 File Offset: 0x0013F370
	public unsafe Material g_matSkyBox
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_g_matSkyBox);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Material(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(StageEnvironmentSet.NativeFieldInfoPtr_g_matSkyBox), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003532 RID: 13618
	private static readonly IntPtr NativeFieldInfoPtr_SkyBox;

	// Token: 0x04003533 RID: 13619
	private static readonly IntPtr NativeFieldInfoPtr_SkyBoxRotationSpeed;

	// Token: 0x04003534 RID: 13620
	private static readonly IntPtr NativeFieldInfoPtr_AmbientLightColor;

	// Token: 0x04003535 RID: 13621
	private static readonly IntPtr NativeFieldInfoPtr_g_fSkyBoxRotationSpeedVal;

	// Token: 0x04003536 RID: 13622
	private static readonly IntPtr NativeFieldInfoPtr_FogColor;

	// Token: 0x04003537 RID: 13623
	private static readonly IntPtr NativeFieldInfoPtr_FogDensity;

	// Token: 0x04003538 RID: 13624
	private static readonly IntPtr NativeFieldInfoPtr_DirectionLightEnable;

	// Token: 0x04003539 RID: 13625
	private static readonly IntPtr NativeFieldInfoPtr_DirectionalLightColor;

	// Token: 0x0400353A RID: 13626
	private static readonly IntPtr NativeFieldInfoPtr_DirectionalLightIntensity;

	// Token: 0x0400353B RID: 13627
	private static readonly IntPtr NativeFieldInfoPtr_g_matSkyBox;

	// Token: 0x0400353C RID: 13628
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x0400353D RID: 13629
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x0400353E RID: 13630
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x0400353F RID: 13631
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x04003540 RID: 13632
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
