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

// Token: 0x02000357 RID: 855
public class ExampleWheelController : MonoBehaviour
{
	// Token: 0x060070EA RID: 28906 RVA: 0x001CA01C File Offset: 0x001C821C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585170, XrefRangeEnd = 585176, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ExampleWheelController.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060070EB RID: 28907 RVA: 0x001CA060 File Offset: 0x001C8260
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585176, XrefRangeEnd = 585192, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ExampleWheelController.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060070EC RID: 28908 RVA: 0x001CA0A4 File Offset: 0x001C82A4
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe ExampleWheelController()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ExampleWheelController.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x060070ED RID: 28909 RVA: 0x001CA0F0 File Offset: 0x001C82F0
	// Note: this type is marked as 'beforefieldinit'.
	static ExampleWheelController()
	{
		Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "ExampleWheelController");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr);
		ExampleWheelController.NativeFieldInfoPtr_acceleration = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr, "acceleration");
		ExampleWheelController.NativeFieldInfoPtr_motionVectorRenderer = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr, "motionVectorRenderer");
		ExampleWheelController.NativeFieldInfoPtr_m_Rigidbody = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr, "m_Rigidbody");
		ExampleWheelController.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr, 100671691);
		ExampleWheelController.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr, 100671692);
		ExampleWheelController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr, 100671693);
	}

	// Token: 0x060070EE RID: 28910 RVA: 0x0000351C File Offset: 0x0000171C
	public ExampleWheelController(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x170026F5 RID: 9973
	// (get) Token: 0x060070EF RID: 28911 RVA: 0x001CA198 File Offset: 0x001C8398
	// (set) Token: 0x060070F0 RID: 28912 RVA: 0x001CA1C0 File Offset: 0x001C83C0
	public unsafe float acceleration
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ExampleWheelController.NativeFieldInfoPtr_acceleration);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ExampleWheelController.NativeFieldInfoPtr_acceleration)) = value;
		}
	}

	// Token: 0x170026F6 RID: 9974
	// (get) Token: 0x060070F1 RID: 28913 RVA: 0x001CA1E4 File Offset: 0x001C83E4
	// (set) Token: 0x060070F2 RID: 28914 RVA: 0x001CA218 File Offset: 0x001C8418
	public unsafe Renderer motionVectorRenderer
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ExampleWheelController.NativeFieldInfoPtr_motionVectorRenderer);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Renderer(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ExampleWheelController.NativeFieldInfoPtr_motionVectorRenderer), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x170026F7 RID: 9975
	// (get) Token: 0x060070F3 RID: 28915 RVA: 0x001CA240 File Offset: 0x001C8440
	// (set) Token: 0x060070F4 RID: 28916 RVA: 0x001CA274 File Offset: 0x001C8474
	public unsafe Rigidbody m_Rigidbody
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ExampleWheelController.NativeFieldInfoPtr_m_Rigidbody);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Rigidbody(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ExampleWheelController.NativeFieldInfoPtr_m_Rigidbody), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04004AE4 RID: 19172
	private static readonly IntPtr NativeFieldInfoPtr_acceleration;

	// Token: 0x04004AE5 RID: 19173
	private static readonly IntPtr NativeFieldInfoPtr_motionVectorRenderer;

	// Token: 0x04004AE6 RID: 19174
	private static readonly IntPtr NativeFieldInfoPtr_m_Rigidbody;

	// Token: 0x04004AE7 RID: 19175
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004AE8 RID: 19176
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004AE9 RID: 19177
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x02000358 RID: 856
	public static class Uniforms : Il2CppSystem.Object
	{
		// Token: 0x060070F5 RID: 28917 RVA: 0x001CA299 File Offset: 0x001C8499
		// Note: this type is marked as 'beforefieldinit'.
		static Uniforms()
		{
			Il2CppClassPointerStore<ExampleWheelController.Uniforms>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr, "Uniforms");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ExampleWheelController.Uniforms>.NativeClassPtr);
			ExampleWheelController.Uniforms.NativeFieldInfoPtr__MotionAmount = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ExampleWheelController.Uniforms>.NativeClassPtr, "_MotionAmount");
		}

		// Token: 0x060070F6 RID: 28918 RVA: 0x0000A688 File Offset: 0x00008888
		public Uniforms(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170026F8 RID: 9976
		// (get) Token: 0x060070F7 RID: 28919 RVA: 0x001CA2D0 File Offset: 0x001C84D0
		// (set) Token: 0x060070F8 RID: 28920 RVA: 0x001CA2EE File Offset: 0x001C84EE
		public unsafe static int _MotionAmount
		{
			get
			{
				int num;
				IL2CPP.il2cpp_field_static_get_value(ExampleWheelController.Uniforms.NativeFieldInfoPtr__MotionAmount, (void*)(&num));
				return num;
			}
			set
			{
				IL2CPP.il2cpp_field_static_set_value(ExampleWheelController.Uniforms.NativeFieldInfoPtr__MotionAmount, (void*)(&value));
			}
		}

		// Token: 0x04004AEA RID: 19178
		private static readonly IntPtr NativeFieldInfoPtr__MotionAmount;
	}
}
