611 lines
28 KiB
C#
611 lines
28 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes.Arrays;
|
|
using Il2CppSystem;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.FinalIK
|
|
{
|
|
// Token: 0x0200044A RID: 1098
|
|
[Serializable]
|
|
public class IKSolverLimb : IKSolverTrigonometric
|
|
{
|
|
// Token: 0x060082BE RID: 33470 RVA: 0x002169EC File Offset: 0x00214BEC
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 617233, RefRangeEnd = 617234, XrefRangeStart = 617232, XrefRangeEnd = 617233, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void MaintainRotation()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKSolverLimb.NativeMethodInfoPtr_MaintainRotation_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060082BF RID: 33471 RVA: 0x00216A30 File Offset: 0x00214C30
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 617235, RefRangeEnd = 617236, XrefRangeStart = 617234, XrefRangeEnd = 617235, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void MaintainBend()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKSolverLimb.NativeMethodInfoPtr_MaintainBend_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060082C0 RID: 33472 RVA: 0x00216A74 File Offset: 0x00214C74
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617236, XrefRangeEnd = 617263, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnInitiateVirtual()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IKSolverLimb.NativeMethodInfoPtr_OnInitiateVirtual_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060082C1 RID: 33473 RVA: 0x00216AC4 File Offset: 0x00214CC4
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617263, XrefRangeEnd = 617268, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnUpdateVirtual()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IKSolverLimb.NativeMethodInfoPtr_OnUpdateVirtual_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060082C2 RID: 33474 RVA: 0x00216B14 File Offset: 0x00214D14
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617268, XrefRangeEnd = 617271, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnPostSolveVirtual()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), IKSolverLimb.NativeMethodInfoPtr_OnPostSolveVirtual_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060082C3 RID: 33475 RVA: 0x00216B64 File Offset: 0x00214D64
|
|
[CallerCount(2)]
|
|
[CachedScanResults(RefRangeStart = 617279, RefRangeEnd = 617281, XrefRangeStart = 617271, XrefRangeEnd = 617279, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe IKSolverLimb()
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKSolverLimb.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060082C4 RID: 33476 RVA: 0x00216BB0 File Offset: 0x00214DB0
|
|
[CallerCount(4)]
|
|
[CachedScanResults(RefRangeStart = 617289, RefRangeEnd = 617293, XrefRangeStart = 617281, XrefRangeEnd = 617289, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe IKSolverLimb(AvatarIKGoal goal)
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr))
|
|
{
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref goal;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKSolverLimb.NativeMethodInfoPtr__ctor_Public_Void_AvatarIKGoal_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C89 RID: 11401
|
|
// (get) Token: 0x060082C5 RID: 33477 RVA: 0x00216C10 File Offset: 0x00214E10
|
|
public unsafe Il2CppStructArray<IKSolverLimb.AxisDirection> axisDirections
|
|
{
|
|
[CallerCount(0)]
|
|
get
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKSolverLimb.NativeMethodInfoPtr_get_axisDirections_Private_get_Il2CppStructArray_1_AxisDirection_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
IntPtr intPtr3 = intPtr;
|
|
return (intPtr3 != 0) ? new Il2CppStructArray<IKSolverLimb.AxisDirection>(intPtr3) : null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060082C6 RID: 33478 RVA: 0x00216C68 File Offset: 0x00214E68
|
|
[CallerCount(2)]
|
|
[CachedScanResults(RefRangeStart = 617298, RefRangeEnd = 617300, XrefRangeStart = 617293, XrefRangeEnd = 617298, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void StoreAxisDirections(ref Il2CppStructArray<IKSolverLimb.AxisDirection> axisDirections)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtrNotNull(axisDirections);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKSolverLimb.NativeMethodInfoPtr_StoreAxisDirections_Private_Void_byref_Il2CppStructArray_1_AxisDirection_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060082C7 RID: 33479 RVA: 0x00216CC4 File Offset: 0x00214EC4
|
|
[CallerCount(1)]
|
|
[CachedScanResults(RefRangeStart = 617319, RefRangeEnd = 617320, XrefRangeStart = 617300, XrefRangeEnd = 617319, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe Vector3 GetModifiedBendNormal()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKSolverLimb.NativeMethodInfoPtr_GetModifiedBendNormal_Private_Vector3_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x060082C8 RID: 33480 RVA: 0x00216D14 File Offset: 0x00214F14
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static IKSolverLimb()
|
|
{
|
|
Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "IKSolverLimb");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr);
|
|
IKSolverLimb.NativeFieldInfoPtr_goal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "goal");
|
|
IKSolverLimb.NativeFieldInfoPtr_bendModifier = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "bendModifier");
|
|
IKSolverLimb.NativeFieldInfoPtr_maintainRotationWeight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "maintainRotationWeight");
|
|
IKSolverLimb.NativeFieldInfoPtr_bendModifierWeight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "bendModifierWeight");
|
|
IKSolverLimb.NativeFieldInfoPtr_bendGoal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "bendGoal");
|
|
IKSolverLimb.NativeFieldInfoPtr_maintainBendFor1Frame = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "maintainBendFor1Frame");
|
|
IKSolverLimb.NativeFieldInfoPtr_maintainRotationFor1Frame = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "maintainRotationFor1Frame");
|
|
IKSolverLimb.NativeFieldInfoPtr_defaultRootRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "defaultRootRotation");
|
|
IKSolverLimb.NativeFieldInfoPtr_parentDefaultRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "parentDefaultRotation");
|
|
IKSolverLimb.NativeFieldInfoPtr_bone3RotationBeforeSolve = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "bone3RotationBeforeSolve");
|
|
IKSolverLimb.NativeFieldInfoPtr_maintainRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "maintainRotation");
|
|
IKSolverLimb.NativeFieldInfoPtr_bone3DefaultRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "bone3DefaultRotation");
|
|
IKSolverLimb.NativeFieldInfoPtr__bendNormal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "_bendNormal");
|
|
IKSolverLimb.NativeFieldInfoPtr_animationNormal = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "animationNormal");
|
|
IKSolverLimb.NativeFieldInfoPtr_axisDirectionsLeft = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "axisDirectionsLeft");
|
|
IKSolverLimb.NativeFieldInfoPtr_axisDirectionsRight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "axisDirectionsRight");
|
|
IKSolverLimb.NativeMethodInfoPtr_MaintainRotation_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673228);
|
|
IKSolverLimb.NativeMethodInfoPtr_MaintainBend_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673229);
|
|
IKSolverLimb.NativeMethodInfoPtr_OnInitiateVirtual_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673230);
|
|
IKSolverLimb.NativeMethodInfoPtr_OnUpdateVirtual_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673231);
|
|
IKSolverLimb.NativeMethodInfoPtr_OnPostSolveVirtual_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673232);
|
|
IKSolverLimb.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673233);
|
|
IKSolverLimb.NativeMethodInfoPtr__ctor_Public_Void_AvatarIKGoal_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673234);
|
|
IKSolverLimb.NativeMethodInfoPtr_get_axisDirections_Private_get_Il2CppStructArray_1_AxisDirection_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673235);
|
|
IKSolverLimb.NativeMethodInfoPtr_StoreAxisDirections_Private_Void_byref_Il2CppStructArray_1_AxisDirection_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673236);
|
|
IKSolverLimb.NativeMethodInfoPtr_GetModifiedBendNormal_Private_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, 100673237);
|
|
}
|
|
|
|
// Token: 0x060082C9 RID: 33481 RVA: 0x00216F4C File Offset: 0x0021514C
|
|
public IKSolverLimb(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17002C79 RID: 11385
|
|
// (get) Token: 0x060082CA RID: 33482 RVA: 0x00216F58 File Offset: 0x00215158
|
|
// (set) Token: 0x060082CB RID: 33483 RVA: 0x00216F80 File Offset: 0x00215180
|
|
public unsafe AvatarIKGoal goal
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_goal);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_goal)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C7A RID: 11386
|
|
// (get) Token: 0x060082CC RID: 33484 RVA: 0x00216FA4 File Offset: 0x002151A4
|
|
// (set) Token: 0x060082CD RID: 33485 RVA: 0x00216FCC File Offset: 0x002151CC
|
|
public unsafe IKSolverLimb.BendModifier bendModifier
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_bendModifier);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_bendModifier)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C7B RID: 11387
|
|
// (get) Token: 0x060082CE RID: 33486 RVA: 0x00216FF0 File Offset: 0x002151F0
|
|
// (set) Token: 0x060082CF RID: 33487 RVA: 0x00217018 File Offset: 0x00215218
|
|
public unsafe float maintainRotationWeight
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_maintainRotationWeight);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_maintainRotationWeight)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C7C RID: 11388
|
|
// (get) Token: 0x060082D0 RID: 33488 RVA: 0x0021703C File Offset: 0x0021523C
|
|
// (set) Token: 0x060082D1 RID: 33489 RVA: 0x00217064 File Offset: 0x00215264
|
|
public unsafe float bendModifierWeight
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_bendModifierWeight);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_bendModifierWeight)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C7D RID: 11389
|
|
// (get) Token: 0x060082D2 RID: 33490 RVA: 0x00217088 File Offset: 0x00215288
|
|
// (set) Token: 0x060082D3 RID: 33491 RVA: 0x002170BC File Offset: 0x002152BC
|
|
public unsafe Transform bendGoal
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_bendGoal);
|
|
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(IKSolverLimb.NativeFieldInfoPtr_bendGoal), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C7E RID: 11390
|
|
// (get) Token: 0x060082D4 RID: 33492 RVA: 0x002170E4 File Offset: 0x002152E4
|
|
// (set) Token: 0x060082D5 RID: 33493 RVA: 0x0021710C File Offset: 0x0021530C
|
|
public unsafe bool maintainBendFor1Frame
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_maintainBendFor1Frame);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_maintainBendFor1Frame)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C7F RID: 11391
|
|
// (get) Token: 0x060082D6 RID: 33494 RVA: 0x00217130 File Offset: 0x00215330
|
|
// (set) Token: 0x060082D7 RID: 33495 RVA: 0x00217158 File Offset: 0x00215358
|
|
public unsafe bool maintainRotationFor1Frame
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_maintainRotationFor1Frame);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_maintainRotationFor1Frame)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C80 RID: 11392
|
|
// (get) Token: 0x060082D8 RID: 33496 RVA: 0x0021717C File Offset: 0x0021537C
|
|
// (set) Token: 0x060082D9 RID: 33497 RVA: 0x002171A4 File Offset: 0x002153A4
|
|
public unsafe Quaternion defaultRootRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_defaultRootRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_defaultRootRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C81 RID: 11393
|
|
// (get) Token: 0x060082DA RID: 33498 RVA: 0x002171C8 File Offset: 0x002153C8
|
|
// (set) Token: 0x060082DB RID: 33499 RVA: 0x002171F0 File Offset: 0x002153F0
|
|
public unsafe Quaternion parentDefaultRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_parentDefaultRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_parentDefaultRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C82 RID: 11394
|
|
// (get) Token: 0x060082DC RID: 33500 RVA: 0x00217214 File Offset: 0x00215414
|
|
// (set) Token: 0x060082DD RID: 33501 RVA: 0x0021723C File Offset: 0x0021543C
|
|
public unsafe Quaternion bone3RotationBeforeSolve
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_bone3RotationBeforeSolve);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_bone3RotationBeforeSolve)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C83 RID: 11395
|
|
// (get) Token: 0x060082DE RID: 33502 RVA: 0x00217260 File Offset: 0x00215460
|
|
// (set) Token: 0x060082DF RID: 33503 RVA: 0x00217288 File Offset: 0x00215488
|
|
public unsafe Quaternion maintainRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_maintainRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_maintainRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C84 RID: 11396
|
|
// (get) Token: 0x060082E0 RID: 33504 RVA: 0x002172AC File Offset: 0x002154AC
|
|
// (set) Token: 0x060082E1 RID: 33505 RVA: 0x002172D4 File Offset: 0x002154D4
|
|
public unsafe Quaternion bone3DefaultRotation
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_bone3DefaultRotation);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_bone3DefaultRotation)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C85 RID: 11397
|
|
// (get) Token: 0x060082E2 RID: 33506 RVA: 0x002172F8 File Offset: 0x002154F8
|
|
// (set) Token: 0x060082E3 RID: 33507 RVA: 0x00217320 File Offset: 0x00215520
|
|
public unsafe Vector3 _bendNormal
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr__bendNormal);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr__bendNormal)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C86 RID: 11398
|
|
// (get) Token: 0x060082E4 RID: 33508 RVA: 0x00217344 File Offset: 0x00215544
|
|
// (set) Token: 0x060082E5 RID: 33509 RVA: 0x0021736C File Offset: 0x0021556C
|
|
public unsafe Vector3 animationNormal
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_animationNormal);
|
|
return *intPtr;
|
|
}
|
|
set
|
|
{
|
|
*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_animationNormal)) = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C87 RID: 11399
|
|
// (get) Token: 0x060082E6 RID: 33510 RVA: 0x00217390 File Offset: 0x00215590
|
|
// (set) Token: 0x060082E7 RID: 33511 RVA: 0x002173C4 File Offset: 0x002155C4
|
|
public unsafe Il2CppStructArray<IKSolverLimb.AxisDirection> axisDirectionsLeft
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_axisDirectionsLeft);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Il2CppStructArray<IKSolverLimb.AxisDirection>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_axisDirectionsLeft), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002C88 RID: 11400
|
|
// (get) Token: 0x060082E8 RID: 33512 RVA: 0x002173EC File Offset: 0x002155EC
|
|
// (set) Token: 0x060082E9 RID: 33513 RVA: 0x00217420 File Offset: 0x00215620
|
|
public unsafe Il2CppStructArray<IKSolverLimb.AxisDirection> axisDirectionsRight
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_axisDirectionsRight);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Il2CppStructArray<IKSolverLimb.AxisDirection>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKSolverLimb.NativeFieldInfoPtr_axisDirectionsRight), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x04005754 RID: 22356
|
|
private static readonly IntPtr NativeFieldInfoPtr_goal;
|
|
|
|
// Token: 0x04005755 RID: 22357
|
|
private static readonly IntPtr NativeFieldInfoPtr_bendModifier;
|
|
|
|
// Token: 0x04005756 RID: 22358
|
|
private static readonly IntPtr NativeFieldInfoPtr_maintainRotationWeight;
|
|
|
|
// Token: 0x04005757 RID: 22359
|
|
private static readonly IntPtr NativeFieldInfoPtr_bendModifierWeight;
|
|
|
|
// Token: 0x04005758 RID: 22360
|
|
private static readonly IntPtr NativeFieldInfoPtr_bendGoal;
|
|
|
|
// Token: 0x04005759 RID: 22361
|
|
private static readonly IntPtr NativeFieldInfoPtr_maintainBendFor1Frame;
|
|
|
|
// Token: 0x0400575A RID: 22362
|
|
private static readonly IntPtr NativeFieldInfoPtr_maintainRotationFor1Frame;
|
|
|
|
// Token: 0x0400575B RID: 22363
|
|
private static readonly IntPtr NativeFieldInfoPtr_defaultRootRotation;
|
|
|
|
// Token: 0x0400575C RID: 22364
|
|
private static readonly IntPtr NativeFieldInfoPtr_parentDefaultRotation;
|
|
|
|
// Token: 0x0400575D RID: 22365
|
|
private static readonly IntPtr NativeFieldInfoPtr_bone3RotationBeforeSolve;
|
|
|
|
// Token: 0x0400575E RID: 22366
|
|
private static readonly IntPtr NativeFieldInfoPtr_maintainRotation;
|
|
|
|
// Token: 0x0400575F RID: 22367
|
|
private static readonly IntPtr NativeFieldInfoPtr_bone3DefaultRotation;
|
|
|
|
// Token: 0x04005760 RID: 22368
|
|
private static readonly IntPtr NativeFieldInfoPtr__bendNormal;
|
|
|
|
// Token: 0x04005761 RID: 22369
|
|
private static readonly IntPtr NativeFieldInfoPtr_animationNormal;
|
|
|
|
// Token: 0x04005762 RID: 22370
|
|
private static readonly IntPtr NativeFieldInfoPtr_axisDirectionsLeft;
|
|
|
|
// Token: 0x04005763 RID: 22371
|
|
private static readonly IntPtr NativeFieldInfoPtr_axisDirectionsRight;
|
|
|
|
// Token: 0x04005764 RID: 22372
|
|
private static readonly IntPtr NativeMethodInfoPtr_MaintainRotation_Public_Void_0;
|
|
|
|
// Token: 0x04005765 RID: 22373
|
|
private static readonly IntPtr NativeMethodInfoPtr_MaintainBend_Public_Void_0;
|
|
|
|
// Token: 0x04005766 RID: 22374
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnInitiateVirtual_Protected_Virtual_Void_0;
|
|
|
|
// Token: 0x04005767 RID: 22375
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnUpdateVirtual_Protected_Virtual_Void_0;
|
|
|
|
// Token: 0x04005768 RID: 22376
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnPostSolveVirtual_Protected_Virtual_Void_0;
|
|
|
|
// Token: 0x04005769 RID: 22377
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
|
|
|
|
// Token: 0x0400576A RID: 22378
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_AvatarIKGoal_0;
|
|
|
|
// Token: 0x0400576B RID: 22379
|
|
private static readonly IntPtr NativeMethodInfoPtr_get_axisDirections_Private_get_Il2CppStructArray_1_AxisDirection_0;
|
|
|
|
// Token: 0x0400576C RID: 22380
|
|
private static readonly IntPtr NativeMethodInfoPtr_StoreAxisDirections_Private_Void_byref_Il2CppStructArray_1_AxisDirection_0;
|
|
|
|
// Token: 0x0400576D RID: 22381
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetModifiedBendNormal_Private_Vector3_0;
|
|
|
|
// Token: 0x0200044B RID: 1099
|
|
[Serializable]
|
|
public enum BendModifier
|
|
{
|
|
// Token: 0x0400576F RID: 22383
|
|
Animation,
|
|
// Token: 0x04005770 RID: 22384
|
|
Target,
|
|
// Token: 0x04005771 RID: 22385
|
|
Parent,
|
|
// Token: 0x04005772 RID: 22386
|
|
Arm,
|
|
// Token: 0x04005773 RID: 22387
|
|
Goal
|
|
}
|
|
|
|
// Token: 0x0200044C RID: 1100
|
|
[Serializable]
|
|
[StructLayout(LayoutKind.Explicit)]
|
|
public struct AxisDirection
|
|
{
|
|
// Token: 0x060082EA RID: 33514 RVA: 0x00217448 File Offset: 0x00215648
|
|
[CallerCount(4)]
|
|
[CachedScanResults(RefRangeStart = 617228, RefRangeEnd = 617232, XrefRangeStart = 617226, XrefRangeEnd = 617228, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe AxisDirection(Vector3 direction, Vector3 axis)
|
|
{
|
|
IntPtr* ptr;
|
|
checked
|
|
{
|
|
ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref direction;
|
|
}
|
|
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref axis;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKSolverLimb.AxisDirection.NativeMethodInfoPtr__ctor_Public_Void_Vector3_Vector3_0, ref this, (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x060082EB RID: 33515 RVA: 0x002174A0 File Offset: 0x002156A0
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static AxisDirection()
|
|
{
|
|
Il2CppClassPointerStore<IKSolverLimb.AxisDirection>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<IKSolverLimb>.NativeClassPtr, "AxisDirection");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<IKSolverLimb.AxisDirection>.NativeClassPtr);
|
|
IKSolverLimb.AxisDirection.NativeFieldInfoPtr_direction = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb.AxisDirection>.NativeClassPtr, "direction");
|
|
IKSolverLimb.AxisDirection.NativeFieldInfoPtr_axis = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb.AxisDirection>.NativeClassPtr, "axis");
|
|
IKSolverLimb.AxisDirection.NativeFieldInfoPtr_dot = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKSolverLimb.AxisDirection>.NativeClassPtr, "dot");
|
|
IKSolverLimb.AxisDirection.NativeMethodInfoPtr__ctor_Public_Void_Vector3_Vector3_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKSolverLimb.AxisDirection>.NativeClassPtr, 100673238);
|
|
}
|
|
|
|
// Token: 0x060082EC RID: 33516 RVA: 0x0021751B File Offset: 0x0021571B
|
|
public Il2CppSystem.Object BoxIl2CppObject()
|
|
{
|
|
return new Il2CppSystem.Object(IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<IKSolverLimb.AxisDirection>.NativeClassPtr, ref this));
|
|
}
|
|
|
|
// Token: 0x04005774 RID: 22388
|
|
private static readonly IntPtr NativeFieldInfoPtr_direction;
|
|
|
|
// Token: 0x04005775 RID: 22389
|
|
private static readonly IntPtr NativeFieldInfoPtr_axis;
|
|
|
|
// Token: 0x04005776 RID: 22390
|
|
private static readonly IntPtr NativeFieldInfoPtr_dot;
|
|
|
|
// Token: 0x04005777 RID: 22391
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Vector3_Vector3_0;
|
|
|
|
// Token: 0x04005778 RID: 22392
|
|
[FieldOffset(0)]
|
|
public Vector3 direction;
|
|
|
|
// Token: 0x04005779 RID: 22393
|
|
[FieldOffset(12)]
|
|
public Vector3 axis;
|
|
|
|
// Token: 0x0400577A RID: 22394
|
|
[FieldOffset(24)]
|
|
public float dot;
|
|
}
|
|
}
|
|
}
|