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

94 lines
3.2 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RootMotion.FinalIK
{
// Token: 0x0200046F RID: 1135
[Token(Token = "0x200046F")]
[HelpURL("http://www.root-motion.com/finalikdox/html/page12.html")]
[AddComponentMenu("Scripts/RootMotion.FinalIK/Rotation Limits/Rotation Limit Spline")]
public class RotationLimitSpline : RotationLimit
{
// Token: 0x060028B2 RID: 10418 RVA: 0x00059928 File Offset: 0x00057B28
[Token(Token = "0x60028B2")]
[Address(RVA = "0x471D00", Offset = "0x470500", VA = "0x180471D00")]
[ContextMenu("User Manual")]
private void OpenUserManual()
{
Application.OpenURL("http://www.root-motion.com/finalikdox/html/page12.html");
}
// Token: 0x060028B3 RID: 10419 RVA: 0x00059940 File Offset: 0x00057B40
[Token(Token = "0x60028B3")]
[Address(RVA = "0x471CC0", Offset = "0x4704C0", VA = "0x180471CC0")]
[ContextMenu("Scrpt Reference")]
private void OpenScriptReference()
{
Application.OpenURL("http://www.root-motion.com/finalikdox/html/class_root_motion_1_1_final_i_k_1_1_rotation_limit_spline.html");
}
// Token: 0x060028B4 RID: 10420 RVA: 0x00059958 File Offset: 0x00057B58
[Token(Token = "0x60028B4")]
[Address(RVA = "0x471D60", Offset = "0x470560", VA = "0x180471D60")]
[ContextMenu("Support Group")]
private void SupportGroup()
{
Application.OpenURL("https://groups.google.com/forum/#!forum/final-ik");
}
// Token: 0x060028B5 RID: 10421 RVA: 0x00059970 File Offset: 0x00057B70
[Token(Token = "0x60028B5")]
[Address(RVA = "0x4718C0", Offset = "0x4700C0", VA = "0x1804718C0")]
[ContextMenu("Asset Store Thread")]
private void ASThread()
{
Application.OpenURL("http://forum.unity3d.com/threads/final-ik-full-body-ik-aim-look-at-fabrik-ccd-ik-1-0-released.222685/");
}
// Token: 0x060028B6 RID: 10422 RVA: 0x00059988 File Offset: 0x00057B88
[Token(Token = "0x60028B6")]
[Address(RVA = "0x471D40", Offset = "0x470540", VA = "0x180471D40")]
public void SetSpline(Keyframe[] keyframes)
{
this.spline.keys = keyframes;
}
// Token: 0x060028B7 RID: 10423 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60028B7")]
[Address(RVA = "0x471900", Offset = "0x470100", VA = "0x180471900", Slot = "4")]
protected override Quaternion LimitRotation(Quaternion rotation)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060028B8 RID: 10424 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60028B8")]
[Address(RVA = "0x4719E0", Offset = "0x4701E0", VA = "0x1804719E0")]
public Quaternion LimitSwing(Quaternion rotation)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060028B9 RID: 10425 RVA: 0x000599A8 File Offset: 0x00057BA8
[Token(Token = "0x60028B9")]
[Address(RVA = "0x471DA0", Offset = "0x4705A0", VA = "0x180471DA0")]
public RotationLimitSpline()
{
}
// Token: 0x04003205 RID: 12805
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4003205")]
[Range(0f, 180f)]
public float twistLimit = 180f;
// Token: 0x04003206 RID: 12806
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4003206")]
[SerializeField]
[HideInInspector]
public AnimationCurve spline;
}
}