using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.FinalIK
{
	// Token: 0x020003F7 RID: 1015
	[Token(Token = "0x20003F7")]
	[Serializable]
	public class Constraints
	{
		// Token: 0x0600244D RID: 9293 RVA: 0x00052EC8 File Offset: 0x000510C8
		[Token(Token = "0x600244D")]
		[Address(RVA = "0xE90A50", Offset = "0xE8F850", VA = "0x180E90A50")]
		public bool IsValid()
		{
			Transform transform = this.transform;
			int num = 0;
			return transform != num;
		}

		// Token: 0x0600244E RID: 9294 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600244E")]
		[Address(RVA = "0xE909D0", Offset = "0xE8F7D0", VA = "0x180E909D0")]
		public void Initiate(Transform transform)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600244F RID: 9295 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600244F")]
		[Address(RVA = "0xE90AB0", Offset = "0xE8F8B0", VA = "0x180E90AB0")]
		public void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002450 RID: 9296 RVA: 0x00052EE8 File Offset: 0x000510E8
		[Token(Token = "0x6002450")]
		[Address(RVA = "0x3D8B20", Offset = "0x3D7920", VA = "0x1803D8B20")]
		public Constraints()
		{
		}

		// Token: 0x04002E0B RID: 11787
		[FieldOffset(Offset = "0x10")]
		[Token(Token = "0x4002E0B")]
		public Transform transform;

		// Token: 0x04002E0C RID: 11788
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002E0C")]
		public Transform target;

		// Token: 0x04002E0D RID: 11789
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002E0D")]
		public Vector3 positionOffset;

		// Token: 0x04002E0E RID: 11790
		[FieldOffset(Offset = "0x2C")]
		[Token(Token = "0x4002E0E")]
		public Vector3 position;

		// Token: 0x04002E0F RID: 11791
		[FieldOffset(Offset = "0x38")]
		[Token(Token = "0x4002E0F")]
		[Range(0f, 1f)]
		public float positionWeight;

		// Token: 0x04002E10 RID: 11792
		[FieldOffset(Offset = "0x3C")]
		[Token(Token = "0x4002E10")]
		public Vector3 rotationOffset;

		// Token: 0x04002E11 RID: 11793
		[FieldOffset(Offset = "0x48")]
		[Token(Token = "0x4002E11")]
		public Vector3 rotation;

		// Token: 0x04002E12 RID: 11794
		[FieldOffset(Offset = "0x54")]
		[Token(Token = "0x4002E12")]
		[Range(0f, 1f)]
		public float rotationWeight;
	}
}
