Files
NobetaSource/Cpp2IL/Assembly-CSharp/RootMotion/FinalIK/IKSolverTrigonometric.cs
2023-09-06 22:09:22 +02:00

296 lines
11 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RootMotion.FinalIK
{
// Token: 0x02000440 RID: 1088
[Token(Token = "0x2000440")]
[Serializable]
public class IKSolverTrigonometric : IKSolver
{
// Token: 0x060026F6 RID: 9974 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60026F6")]
[Address(RVA = "0x16750C0", Offset = "0x16738C0", VA = "0x1816750C0")]
public void SetBendGoalPosition(Vector3 goalPosition, float weight)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060026F7 RID: 9975 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60026F7")]
[Address(RVA = "0x1675330", Offset = "0x1673B30", VA = "0x181675330")]
public void SetBendPlaneToCurrent()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060026F8 RID: 9976 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60026F8")]
[Address(RVA = "0x10E2AF0", Offset = "0x10E12F0", VA = "0x1810E2AF0")]
public void SetIKRotation(Quaternion rotation)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060026F9 RID: 9977 RVA: 0x00056C34 File Offset: 0x00054E34
[Token(Token = "0x60026F9")]
[Address(RVA = "0x16755D0", Offset = "0x1673DD0", VA = "0x1816755D0")]
public void SetIKRotationWeight(float weight)
{
int num = 0;
float num2 = Mathf.Clamp(weight, (float)num, 1f);
this.IKRotationWeight = num2;
}
// Token: 0x060026FA RID: 9978 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60026FA")]
[Address(RVA = "0x1673880", Offset = "0x1672080", VA = "0x181673880")]
public Quaternion GetIKRotation()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060026FB RID: 9979 RVA: 0x00056C58 File Offset: 0x00054E58
[Token(Token = "0x60026FB")]
[Address(RVA = "0x5FEE90", Offset = "0x5FD690", VA = "0x1805FEE90")]
public float GetIKRotationWeight()
{
return this.IKRotationWeight;
}
// Token: 0x060026FC RID: 9980 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60026FC")]
[Address(RVA = "0x16739F0", Offset = "0x16721F0", VA = "0x1816739F0", Slot = "6")]
public override IKSolver.Point[] GetPoints()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060026FD RID: 9981 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60026FD")]
[Address(RVA = "0x1673890", Offset = "0x1672090", VA = "0x181673890", Slot = "7")]
public override IKSolver.Point GetPoint(Transform transform)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060026FE RID: 9982 RVA: 0x00056C6C File Offset: 0x00054E6C
[Token(Token = "0x60026FE")]
[Address(RVA = "0x1675E10", Offset = "0x1674610", VA = "0x181675E10", Slot = "9")]
public override void StoreDefaultLocalState()
{
this.bone1.StoreDefaultLocalState();
this.bone2.StoreDefaultLocalState();
this.bone3.StoreDefaultLocalState();
}
// Token: 0x060026FF RID: 9983 RVA: 0x00056CA0 File Offset: 0x00054EA0
[Token(Token = "0x60026FF")]
[Address(RVA = "0x1673350", Offset = "0x1671B50", VA = "0x181673350", Slot = "8")]
public override void FixTransforms()
{
this.bone1.FixTransform();
this.bone2.FixTransform();
this.bone3.FixTransform();
}
// Token: 0x06002700 RID: 9984 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002700")]
[Address(RVA = "0x1673F80", Offset = "0x1672780", VA = "0x181673F80", Slot = "4")]
public override bool IsValid(ref string message)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002701 RID: 9985 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002701")]
[Address(RVA = "0x1675540", Offset = "0x1673D40", VA = "0x181675540")]
public bool SetChain(Transform bone1, Transform bone2, Transform bone3, Transform root)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002702 RID: 9986 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002702")]
[Address(RVA = "0x1675600", Offset = "0x1673E00", VA = "0x181675600")]
public static void Solve(Transform bone1, Transform bone2, Transform bone3, Vector3 targetPosition, Vector3 bendNormal, float weight)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002703 RID: 9987 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002703")]
[Address(RVA = "0x16736B0", Offset = "0x1671EB0", VA = "0x1816736B0")]
private static Vector3 GetDirectionToBendPoint(Vector3 direction, float directionMag, Vector3 bendDirection, float sqrMag1, float sqrMag2)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002704 RID: 9988 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002704")]
[Address(RVA = "0x1674470", Offset = "0x1672C70", VA = "0x181674470", Slot = "10")]
protected override void OnInitiate()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002705 RID: 9989 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002705")]
[Address(RVA = "0x1673E50", Offset = "0x1672650", VA = "0x181673E50")]
private bool IsDirectHierarchy()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002706 RID: 9990 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002706")]
[Address(RVA = "0x1673B70", Offset = "0x1672370", VA = "0x181673B70")]
private void InitiateBones()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002707 RID: 9991 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002707")]
[Address(RVA = "0x1674680", Offset = "0x1672E80", VA = "0x181674680", Slot = "11")]
protected override void OnUpdate()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002708 RID: 9992 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002708")]
[Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0", Slot = "12")]
protected virtual void OnInitiateVirtual()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002709 RID: 9993 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002709")]
[Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0", Slot = "13")]
protected virtual void OnUpdateVirtual()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600270A RID: 9994 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600270A")]
[Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0", Slot = "14")]
protected virtual void OnPostSolveVirtual()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600270B RID: 9995 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600270B")]
[Address(RVA = "0x16733A0", Offset = "0x1671BA0", VA = "0x1816733A0")]
protected Vector3 GetBendDirection(Vector3 IKPosition, Vector3 bendNormal)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600270C RID: 9996 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600270C")]
[Address(RVA = "0x1675E60", Offset = "0x1674660", VA = "0x181675E60")]
public IKSolverTrigonometric()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04003057 RID: 12375
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4003057")]
public Transform target;
// Token: 0x04003058 RID: 12376
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4003058")]
[Range(0f, 1f)]
public float IKRotationWeight;
// Token: 0x04003059 RID: 12377
[FieldOffset(Offset = "0x64")]
[Token(Token = "0x4003059")]
public Quaternion IKRotation;
// Token: 0x0400305A RID: 12378
[FieldOffset(Offset = "0x74")]
[Token(Token = "0x400305A")]
public Vector3 bendNormal;
// Token: 0x0400305B RID: 12379
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x400305B")]
public IKSolverTrigonometric.TrigonometricBone bone1;
// Token: 0x0400305C RID: 12380
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x400305C")]
public IKSolverTrigonometric.TrigonometricBone bone2;
// Token: 0x0400305D RID: 12381
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x400305D")]
public IKSolverTrigonometric.TrigonometricBone bone3;
// Token: 0x0400305E RID: 12382
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x400305E")]
protected Vector3 weightIKPosition;
// Token: 0x0400305F RID: 12383
[FieldOffset(Offset = "0xA4")]
[Token(Token = "0x400305F")]
protected bool directHierarchy;
// Token: 0x02000441 RID: 1089
[Token(Token = "0x2000441")]
[Serializable]
public class TrigonometricBone : IKSolver.Bone
{
// Token: 0x0600270D RID: 9997 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600270D")]
[Address(RVA = "0x1591D20", Offset = "0x1590520", VA = "0x181591D20")]
public void Initiate(Vector3 childPosition, Vector3 bendNormal)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600270E RID: 9998 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600270E")]
[Address(RVA = "0x1591CA0", Offset = "0x15904A0", VA = "0x181591CA0")]
public Quaternion GetRotation(Vector3 direction, Vector3 bendNormal)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600270F RID: 9999 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600270F")]
[Address(RVA = "0x1591C20", Offset = "0x1590420", VA = "0x181591C20")]
public Vector3 GetBendNormalFromCurrentRotation()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002710 RID: 10000 RVA: 0x00056CD4 File Offset: 0x00054ED4
[Token(Token = "0x6002710")]
[Address(RVA = "0x158B500", Offset = "0x1589D00", VA = "0x18158B500")]
public TrigonometricBone()
{
}
// Token: 0x04003060 RID: 12384
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x4003060")]
private Quaternion targetToLocalSpace;
// Token: 0x04003061 RID: 12385
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x4003061")]
private Vector3 defaultLocalBendNormal;
}
}
}