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

// Token: 0x0200039A RID: 922
public class CFX_Demo_RotateCamera : MonoBehaviour
{
	// Token: 0x06007827 RID: 30759 RVA: 0x001E8E48 File Offset: 0x001E7048
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616874, XrefRangeEnd = 616883, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_Demo_RotateCamera.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x06007829 RID: 30761 RVA: 0x001E8ED8 File Offset: 0x001E70D8
	// Note: this type is marked as 'beforefieldinit'.
	static CFX_Demo_RotateCamera()
	{
		Il2CppClassPointerStore<CFX_Demo_RotateCamera>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CFX_Demo_RotateCamera");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CFX_Demo_RotateCamera>.NativeClassPtr);
		CFX_Demo_RotateCamera.NativeFieldInfoPtr_rotating = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_Demo_RotateCamera>.NativeClassPtr, "rotating");
		CFX_Demo_RotateCamera.NativeFieldInfoPtr_speed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_Demo_RotateCamera>.NativeClassPtr, "speed");
		CFX_Demo_RotateCamera.NativeFieldInfoPtr_rotationCenter = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_Demo_RotateCamera>.NativeClassPtr, "rotationCenter");
		CFX_Demo_RotateCamera.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_Demo_RotateCamera>.NativeClassPtr, 100672329);
		CFX_Demo_RotateCamera.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_Demo_RotateCamera>.NativeClassPtr, 100672330);
	}

	// Token: 0x0600782A RID: 30762 RVA: 0x0000351C File Offset: 0x0000171C
	public CFX_Demo_RotateCamera(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002939 RID: 10553
	// (get) Token: 0x0600782B RID: 30763 RVA: 0x001E8F6C File Offset: 0x001E716C
	// (set) Token: 0x0600782C RID: 30764 RVA: 0x001E8F8A File Offset: 0x001E718A
	public unsafe static bool rotating
	{
		get
		{
			bool flag;
			IL2CPP.il2cpp_field_static_get_value(CFX_Demo_RotateCamera.NativeFieldInfoPtr_rotating, (void*)(&flag));
			return flag;
		}
		set
		{
			IL2CPP.il2cpp_field_static_set_value(CFX_Demo_RotateCamera.NativeFieldInfoPtr_rotating, (void*)(&value));
		}
	}

	// Token: 0x1700293A RID: 10554
	// (get) Token: 0x0600782D RID: 30765 RVA: 0x001E8F9C File Offset: 0x001E719C
	// (set) Token: 0x0600782E RID: 30766 RVA: 0x001E8FC4 File Offset: 0x001E71C4
	public unsafe float speed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_RotateCamera.NativeFieldInfoPtr_speed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_RotateCamera.NativeFieldInfoPtr_speed)) = value;
		}
	}

	// Token: 0x1700293B RID: 10555
	// (get) Token: 0x0600782F RID: 30767 RVA: 0x001E8FE8 File Offset: 0x001E71E8
	// (set) Token: 0x06007830 RID: 30768 RVA: 0x001E901C File Offset: 0x001E721C
	public unsafe Transform rotationCenter
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_Demo_RotateCamera.NativeFieldInfoPtr_rotationCenter);
			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(CFX_Demo_RotateCamera.NativeFieldInfoPtr_rotationCenter), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004FED RID: 20461
	private static readonly IntPtr NativeFieldInfoPtr_rotating;

	// Token: 0x04004FEE RID: 20462
	private static readonly IntPtr NativeFieldInfoPtr_speed;

	// Token: 0x04004FEF RID: 20463
	private static readonly IntPtr NativeFieldInfoPtr_rotationCenter;

	// Token: 0x04004FF0 RID: 20464
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004FF1 RID: 20465
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
