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

// Token: 0x02000342 RID: 834
public class CFX_Demo_RotateCamera : MonoBehaviour
{
	// Token: 0x06006FD4 RID: 28628 RVA: 0x001C6100 File Offset: 0x001C4300
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 584573, XrefRangeEnd = 584582, 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: 0x06006FD5 RID: 28629 RVA: 0x001C6144 File Offset: 0x001C4344
	[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: 0x06006FD6 RID: 28630 RVA: 0x001C6190 File Offset: 0x001C4390
	// 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, 100671616);
		CFX_Demo_RotateCamera.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_Demo_RotateCamera>.NativeClassPtr, 100671617);
	}

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

	// Token: 0x1700269E RID: 9886
	// (get) Token: 0x06006FD8 RID: 28632 RVA: 0x001C6224 File Offset: 0x001C4424
	// (set) Token: 0x06006FD9 RID: 28633 RVA: 0x001C6242 File Offset: 0x001C4442
	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: 0x1700269F RID: 9887
	// (get) Token: 0x06006FDA RID: 28634 RVA: 0x001C6254 File Offset: 0x001C4454
	// (set) Token: 0x06006FDB RID: 28635 RVA: 0x001C627C File Offset: 0x001C447C
	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: 0x170026A0 RID: 9888
	// (get) Token: 0x06006FDC RID: 28636 RVA: 0x001C62A0 File Offset: 0x001C44A0
	// (set) Token: 0x06006FDD RID: 28637 RVA: 0x001C62D4 File Offset: 0x001C44D4
	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: 0x04004A44 RID: 19012
	private static readonly IntPtr NativeFieldInfoPtr_rotating;

	// Token: 0x04004A45 RID: 19013
	private static readonly IntPtr NativeFieldInfoPtr_speed;

	// Token: 0x04004A46 RID: 19014
	private static readonly IntPtr NativeFieldInfoPtr_rotationCenter;

	// Token: 0x04004A47 RID: 19015
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004A48 RID: 19016
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
