using System; using Cpp2IlInjected; using UnityEngine; namespace RootMotion.FinalIK { // Token: 0x02000090 RID: 144 [Token(Token = "0x2000068")] [Serializable] public class TwistSolver { // Token: 0x060004CA RID: 1226 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60003C3")] [Address(RVA = "0x29B8240", Offset = "0x29B7040", VA = "0x1829B8240")] public TwistSolver() { } // Token: 0x060004CB RID: 1227 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60003C4")] [Address(RVA = "0x29B7600", Offset = "0x29B6400", VA = "0x1829B7600")] public void Initiate() { } // Token: 0x060004CC RID: 1228 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60003C5")] [Address(RVA = "0x29B7C60", Offset = "0x29B6A60", VA = "0x1829B7C60")] public void Relax() { } // Token: 0x0400046C RID: 1132 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40002EC")] [Tooltip("The transform that this solver operates on.")] public Transform transform; // Token: 0x0400046D RID: 1133 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40002ED")] [Tooltip("If this is the forearm roll bone, the parent should be the forearm bone. If null, will be found automatically.")] public Transform parent; // Token: 0x0400046E RID: 1134 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40002EE")] [Tooltip("If this is the forearm roll bone, the child should be the hand bone. If null, will attempt to find automatically. Assign the hand manually if the hand bone is not a child of the roll bone.")] public Transform[] children; // Token: 0x0400046F RID: 1135 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40002EF")] [Tooltip("The weight of relaxing the twist of this Transform")] [Range(0f, 1f)] public float weight; // Token: 0x04000470 RID: 1136 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x40002F0")] [Tooltip("If 0.5, this Transform will be twisted half way from parent to child. If 1, the twist angle will be locked to the child and will rotate with along with it.")] [Range(0f, 1f)] public float parentChildCrossfade; // Token: 0x04000471 RID: 1137 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40002F1")] [Tooltip("Rotation offset around the twist axis.")] [Range(-180f, 180f)] public float twistAngleOffset; // Token: 0x04000472 RID: 1138 [FieldOffset(Offset = "0x34")] [Token(Token = "0x40002F2")] private Vector3 twistAxis; // Token: 0x04000473 RID: 1139 [FieldOffset(Offset = "0x40")] [Token(Token = "0x40002F3")] private Vector3 axis; // Token: 0x04000474 RID: 1140 [FieldOffset(Offset = "0x4C")] [Token(Token = "0x40002F4")] private Vector3 axisRelativeToParentDefault; // Token: 0x04000475 RID: 1141 [FieldOffset(Offset = "0x58")] [Token(Token = "0x40002F5")] private Vector3 axisRelativeToChildDefault; // Token: 0x04000476 RID: 1142 [FieldOffset(Offset = "0x68")] [Token(Token = "0x40002F6")] private Quaternion[] childRotations; // Token: 0x04000477 RID: 1143 [FieldOffset(Offset = "0x70")] [Token(Token = "0x40002F7")] private bool inititated; } }