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

namespace RootMotion.FinalIK
{
	// Token: 0x0200046A RID: 1130
	public class Poser : SolverManager
	{
		// Token: 0x060086CC RID: 34508 RVA: 0x00228C0C File Offset: 0x00226E0C
		[CallerCount(0)]
		public unsafe virtual void AutoMapping()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_AutoMapping_Public_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086CD RID: 34509 RVA: 0x00228C5C File Offset: 0x00226E5C
		[CallerCount(0)]
		public unsafe virtual void InitiatePoser()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_InitiatePoser_Protected_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086CE RID: 34510 RVA: 0x00228CAC File Offset: 0x00226EAC
		[CallerCount(0)]
		public unsafe virtual void UpdatePoser()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_UpdatePoser_Protected_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086CF RID: 34511 RVA: 0x00228CFC File Offset: 0x00226EFC
		[CallerCount(0)]
		public unsafe virtual void FixPoserTransforms()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_FixPoserTransforms_Protected_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086D0 RID: 34512 RVA: 0x00228D4C File Offset: 0x00226F4C
		[CallerCount(0)]
		public unsafe override void UpdateSolver()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_UpdateSolver_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086D1 RID: 34513 RVA: 0x00228D9C File Offset: 0x00226F9C
		[CallerCount(0)]
		public unsafe override void InitiateSolver()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_InitiateSolver_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086D2 RID: 34514 RVA: 0x00228DEC File Offset: 0x00226FEC
		[CallerCount(0)]
		public unsafe override void FixTransforms()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_FixTransforms_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086D3 RID: 34515 RVA: 0x00228E3C File Offset: 0x0022703C
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 603327, RefRangeEnd = 603329, XrefRangeStart = 603326, XrefRangeEnd = 603327, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe Poser()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<Poser>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Poser.NativeMethodInfoPtr__ctor_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086D4 RID: 34516 RVA: 0x00228E88 File Offset: 0x00227088
		// Note: this type is marked as 'beforefieldinit'.
		static Poser()
		{
			Il2CppClassPointerStore<Poser>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "Poser");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<Poser>.NativeClassPtr);
			Poser.NativeFieldInfoPtr_poseRoot = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "poseRoot");
			Poser.NativeFieldInfoPtr_weight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "weight");
			Poser.NativeFieldInfoPtr_localRotationWeight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "localRotationWeight");
			Poser.NativeFieldInfoPtr_localPositionWeight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "localPositionWeight");
			Poser.NativeFieldInfoPtr_initiated = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "initiated");
			Poser.NativeMethodInfoPtr_AutoMapping_Public_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100673574);
			Poser.NativeMethodInfoPtr_InitiatePoser_Protected_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100673575);
			Poser.NativeMethodInfoPtr_UpdatePoser_Protected_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100673576);
			Poser.NativeMethodInfoPtr_FixPoserTransforms_Protected_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100673577);
			Poser.NativeMethodInfoPtr_UpdateSolver_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100673578);
			Poser.NativeMethodInfoPtr_InitiateSolver_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100673579);
			Poser.NativeMethodInfoPtr_FixTransforms_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100673580);
			Poser.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100673581);
		}

		// Token: 0x060086D5 RID: 34517 RVA: 0x001F6B84 File Offset: 0x001F4D84
		public Poser(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002DEE RID: 11758
		// (get) Token: 0x060086D6 RID: 34518 RVA: 0x00228FBC File Offset: 0x002271BC
		// (set) Token: 0x060086D7 RID: 34519 RVA: 0x00228FF0 File Offset: 0x002271F0
		public unsafe Transform poseRoot
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_poseRoot);
				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(Poser.NativeFieldInfoPtr_poseRoot), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002DEF RID: 11759
		// (get) Token: 0x060086D8 RID: 34520 RVA: 0x00229018 File Offset: 0x00227218
		// (set) Token: 0x060086D9 RID: 34521 RVA: 0x00229040 File Offset: 0x00227240
		public unsafe float weight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_weight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_weight)) = value;
			}
		}

		// Token: 0x17002DF0 RID: 11760
		// (get) Token: 0x060086DA RID: 34522 RVA: 0x00229064 File Offset: 0x00227264
		// (set) Token: 0x060086DB RID: 34523 RVA: 0x0022908C File Offset: 0x0022728C
		public unsafe float localRotationWeight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_localRotationWeight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_localRotationWeight)) = value;
			}
		}

		// Token: 0x17002DF1 RID: 11761
		// (get) Token: 0x060086DC RID: 34524 RVA: 0x002290B0 File Offset: 0x002272B0
		// (set) Token: 0x060086DD RID: 34525 RVA: 0x002290D8 File Offset: 0x002272D8
		public unsafe float localPositionWeight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_localPositionWeight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_localPositionWeight)) = value;
			}
		}

		// Token: 0x17002DF2 RID: 11762
		// (get) Token: 0x060086DE RID: 34526 RVA: 0x002290FC File Offset: 0x002272FC
		// (set) Token: 0x060086DF RID: 34527 RVA: 0x00229124 File Offset: 0x00227324
		public unsafe bool initiated
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_initiated);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_initiated)) = value;
			}
		}

		// Token: 0x04005A07 RID: 23047
		private static readonly IntPtr NativeFieldInfoPtr_poseRoot;

		// Token: 0x04005A08 RID: 23048
		private static readonly IntPtr NativeFieldInfoPtr_weight;

		// Token: 0x04005A09 RID: 23049
		private static readonly IntPtr NativeFieldInfoPtr_localRotationWeight;

		// Token: 0x04005A0A RID: 23050
		private static readonly IntPtr NativeFieldInfoPtr_localPositionWeight;

		// Token: 0x04005A0B RID: 23051
		private static readonly IntPtr NativeFieldInfoPtr_initiated;

		// Token: 0x04005A0C RID: 23052
		private static readonly IntPtr NativeMethodInfoPtr_AutoMapping_Public_Abstract_Virtual_New_Void_0;

		// Token: 0x04005A0D RID: 23053
		private static readonly IntPtr NativeMethodInfoPtr_InitiatePoser_Protected_Abstract_Virtual_New_Void_0;

		// Token: 0x04005A0E RID: 23054
		private static readonly IntPtr NativeMethodInfoPtr_UpdatePoser_Protected_Abstract_Virtual_New_Void_0;

		// Token: 0x04005A0F RID: 23055
		private static readonly IntPtr NativeMethodInfoPtr_FixPoserTransforms_Protected_Abstract_Virtual_New_Void_0;

		// Token: 0x04005A10 RID: 23056
		private static readonly IntPtr NativeMethodInfoPtr_UpdateSolver_Protected_Virtual_Void_0;

		// Token: 0x04005A11 RID: 23057
		private static readonly IntPtr NativeMethodInfoPtr_InitiateSolver_Protected_Virtual_Void_0;

		// Token: 0x04005A12 RID: 23058
		private static readonly IntPtr NativeMethodInfoPtr_FixTransforms_Protected_Virtual_Void_0;

		// Token: 0x04005A13 RID: 23059
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
	}
}
