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

// Token: 0x020003AF RID: 943
public class ExampleWheelController : MonoBehaviour
{
	// Token: 0x0600793D RID: 31037 RVA: 0x001ECD64 File Offset: 0x001EAF64
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617471, XrefRangeEnd = 617477, 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: 0x0600793E RID: 31038 RVA: 0x001ECDA8 File Offset: 0x001EAFA8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617477, XrefRangeEnd = 617493, 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: 0x0600793F RID: 31039 RVA: 0x001ECDEC File Offset: 0x001EAFEC
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x06007940 RID: 31040 RVA: 0x001ECE38 File Offset: 0x001EB038
	// 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, 100672404);
		ExampleWheelController.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr, 100672405);
		ExampleWheelController.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ExampleWheelController>.NativeClassPtr, 100672406);
	}

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

	// Token: 0x17002990 RID: 10640
	// (get) Token: 0x06007942 RID: 31042 RVA: 0x001ECEE0 File Offset: 0x001EB0E0
	// (set) Token: 0x06007943 RID: 31043 RVA: 0x001ECF08 File Offset: 0x001EB108
	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: 0x17002991 RID: 10641
	// (get) Token: 0x06007944 RID: 31044 RVA: 0x001ECF2C File Offset: 0x001EB12C
	// (set) Token: 0x06007945 RID: 31045 RVA: 0x001ECF60 File Offset: 0x001EB160
	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: 0x17002992 RID: 10642
	// (get) Token: 0x06007946 RID: 31046 RVA: 0x001ECF88 File Offset: 0x001EB188
	// (set) Token: 0x06007947 RID: 31047 RVA: 0x001ECFBC File Offset: 0x001EB1BC
	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: 0x0400508D RID: 20621
	private static readonly IntPtr NativeFieldInfoPtr_acceleration;

	// Token: 0x0400508E RID: 20622
	private static readonly IntPtr NativeFieldInfoPtr_motionVectorRenderer;

	// Token: 0x0400508F RID: 20623
	private static readonly IntPtr NativeFieldInfoPtr_m_Rigidbody;

	// Token: 0x04005090 RID: 20624
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04005091 RID: 20625
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04005092 RID: 20626
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x020003B0 RID: 944
	public static class Uniforms : Il2CppSystem.Object
	{
		// Token: 0x06007948 RID: 31048 RVA: 0x001ECFE1 File Offset: 0x001EB1E1
		// 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: 0x06007949 RID: 31049 RVA: 0x0000A74C File Offset: 0x0000894C
		public Uniforms(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002993 RID: 10643
		// (get) Token: 0x0600794A RID: 31050 RVA: 0x001ED018 File Offset: 0x001EB218
		// (set) Token: 0x0600794B RID: 31051 RVA: 0x001ED036 File Offset: 0x001EB236
		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: 0x04005093 RID: 20627
		private static readonly IntPtr NativeFieldInfoPtr__MotionAmount;
	}
}
