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

// Token: 0x020001D8 RID: 472
public class StageEnvironmentSet : SceneEvent
{
	// Token: 0x06004B48 RID: 19272 RVA: 0x0012B3F0 File Offset: 0x001295F0
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, 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: 0x06004B49 RID: 19273 RVA: 0x0012B434 File Offset: 0x00129634
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545833, XrefRangeEnd = 545837, 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: 0x06004B4A RID: 19274 RVA: 0x0012B478 File Offset: 0x00129678
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545837, XrefRangeEnd = 545853, 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: 0x06004B4B RID: 19275 RVA: 0x0012B4C8 File Offset: 0x001296C8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545853, XrefRangeEnd = 545856, 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: 0x06004B4C RID: 19276 RVA: 0x0012B52C File Offset: 0x0012972C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 545856, XrefRangeEnd = 545857, 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: 0x06004B4D RID: 19277 RVA: 0x0012B578 File Offset: 0x00129778
	// 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, 100668271);
		StageEnvironmentSet.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, 100668272);
		StageEnvironmentSet.NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, 100668273);
		StageEnvironmentSet.NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, 100668274);
		StageEnvironmentSet.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<StageEnvironmentSet>.NativeClassPtr, 100668275);
	}

	// Token: 0x06004B4E RID: 19278 RVA: 0x00117370 File Offset: 0x00115570
	public StageEnvironmentSet(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001B27 RID: 6951
	// (get) Token: 0x06004B4F RID: 19279 RVA: 0x0012B6D4 File Offset: 0x001298D4
	// (set) Token: 0x06004B50 RID: 19280 RVA: 0x0012B708 File Offset: 0x00129908
	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: 0x17001B28 RID: 6952
	// (get) Token: 0x06004B51 RID: 19281 RVA: 0x0012B730 File Offset: 0x00129930
	// (set) Token: 0x06004B52 RID: 19282 RVA: 0x0012B758 File Offset: 0x00129958
	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: 0x17001B29 RID: 6953
	// (get) Token: 0x06004B53 RID: 19283 RVA: 0x0012B77C File Offset: 0x0012997C
	// (set) Token: 0x06004B54 RID: 19284 RVA: 0x0012B7A4 File Offset: 0x001299A4
	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: 0x17001B2A RID: 6954
	// (get) Token: 0x06004B55 RID: 19285 RVA: 0x0012B7C8 File Offset: 0x001299C8
	// (set) Token: 0x06004B56 RID: 19286 RVA: 0x0012B7F0 File Offset: 0x001299F0
	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: 0x17001B2B RID: 6955
	// (get) Token: 0x06004B57 RID: 19287 RVA: 0x0012B814 File Offset: 0x00129A14
	// (set) Token: 0x06004B58 RID: 19288 RVA: 0x0012B83C File Offset: 0x00129A3C
	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: 0x17001B2C RID: 6956
	// (get) Token: 0x06004B59 RID: 19289 RVA: 0x0012B860 File Offset: 0x00129A60
	// (set) Token: 0x06004B5A RID: 19290 RVA: 0x0012B888 File Offset: 0x00129A88
	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: 0x17001B2D RID: 6957
	// (get) Token: 0x06004B5B RID: 19291 RVA: 0x0012B8AC File Offset: 0x00129AAC
	// (set) Token: 0x06004B5C RID: 19292 RVA: 0x0012B8D4 File Offset: 0x00129AD4
	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: 0x17001B2E RID: 6958
	// (get) Token: 0x06004B5D RID: 19293 RVA: 0x0012B8F8 File Offset: 0x00129AF8
	// (set) Token: 0x06004B5E RID: 19294 RVA: 0x0012B920 File Offset: 0x00129B20
	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: 0x17001B2F RID: 6959
	// (get) Token: 0x06004B5F RID: 19295 RVA: 0x0012B944 File Offset: 0x00129B44
	// (set) Token: 0x06004B60 RID: 19296 RVA: 0x0012B96C File Offset: 0x00129B6C
	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: 0x17001B30 RID: 6960
	// (get) Token: 0x06004B61 RID: 19297 RVA: 0x0012B990 File Offset: 0x00129B90
	// (set) Token: 0x06004B62 RID: 19298 RVA: 0x0012B9C4 File Offset: 0x00129BC4
	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: 0x040031B2 RID: 12722
	private static readonly IntPtr NativeFieldInfoPtr_SkyBox;

	// Token: 0x040031B3 RID: 12723
	private static readonly IntPtr NativeFieldInfoPtr_SkyBoxRotationSpeed;

	// Token: 0x040031B4 RID: 12724
	private static readonly IntPtr NativeFieldInfoPtr_AmbientLightColor;

	// Token: 0x040031B5 RID: 12725
	private static readonly IntPtr NativeFieldInfoPtr_g_fSkyBoxRotationSpeedVal;

	// Token: 0x040031B6 RID: 12726
	private static readonly IntPtr NativeFieldInfoPtr_FogColor;

	// Token: 0x040031B7 RID: 12727
	private static readonly IntPtr NativeFieldInfoPtr_FogDensity;

	// Token: 0x040031B8 RID: 12728
	private static readonly IntPtr NativeFieldInfoPtr_DirectionLightEnable;

	// Token: 0x040031B9 RID: 12729
	private static readonly IntPtr NativeFieldInfoPtr_DirectionalLightColor;

	// Token: 0x040031BA RID: 12730
	private static readonly IntPtr NativeFieldInfoPtr_DirectionalLightIntensity;

	// Token: 0x040031BB RID: 12731
	private static readonly IntPtr NativeFieldInfoPtr_g_matSkyBox;

	// Token: 0x040031BC RID: 12732
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x040031BD RID: 12733
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x040031BE RID: 12734
	private static readonly IntPtr NativeMethodInfoPtr_OpenEvent_Public_Virtual_Void_0;

	// Token: 0x040031BF RID: 12735
	private static readonly IntPtr NativeMethodInfoPtr_OnTriggerExit_Protected_Virtual_Void_Collider_0;

	// Token: 0x040031C0 RID: 12736
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
