361 lines
19 KiB
C#
361 lines
19 KiB
C#
using System;
|
|
using Il2CppInterop.Common.Attributes;
|
|
using Il2CppInterop.Runtime;
|
|
using Il2CppInterop.Runtime.InteropTypes.Arrays;
|
|
using Il2CppSystem.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Obi
|
|
{
|
|
// Token: 0x020004C1 RID: 1217
|
|
[Serializable]
|
|
public class ObiVolumeConstraintBatch : ObiConstraintBatch
|
|
{
|
|
// Token: 0x06008D9A RID: 36250 RVA: 0x00246658 File Offset: 0x00244858
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 609715, XrefRangeEnd = 609747, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe ObiVolumeConstraintBatch(bool cooked, bool sharesParticles)
|
|
: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr))
|
|
{
|
|
IntPtr* ptr;
|
|
checked
|
|
{
|
|
ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref cooked;
|
|
}
|
|
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref sharesParticles;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiVolumeConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008D9B RID: 36251 RVA: 0x002466C8 File Offset: 0x002448C8
|
|
[CallerCount(0)]
|
|
public unsafe override Oni.ConstraintType GetConstraintType()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiVolumeConstraintBatch.NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
return *IL2CPP.il2cpp_object_unbox(intPtr);
|
|
}
|
|
|
|
// Token: 0x06008D9C RID: 36252 RVA: 0x00246724 File Offset: 0x00244924
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 609747, XrefRangeEnd = 609762, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void Clear()
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr = null;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiVolumeConstraintBatch.NativeMethodInfoPtr_Clear_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008D9D RID: 36253 RVA: 0x00246774 File Offset: 0x00244974
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 609762, XrefRangeEnd = 609779, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void AddConstraint(Il2CppStructArray<int> triangles, float restVolume, float pressure, float stiffness)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IntPtr* ptr;
|
|
checked
|
|
{
|
|
ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(triangles);
|
|
}
|
|
ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref restVolume;
|
|
ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref pressure;
|
|
ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref stiffness;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiVolumeConstraintBatch.NativeMethodInfoPtr_AddConstraint_Public_Void_Il2CppStructArray_1_Int32_Single_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
|
|
// Token: 0x06008D9E RID: 36254 RVA: 0x00246808 File Offset: 0x00244A08
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 609779, XrefRangeEnd = 609807, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe void RemoveConstraint(int index)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref index;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ObiVolumeConstraintBatch.NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008D9F RID: 36255 RVA: 0x0024685C File Offset: 0x00244A5C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 609807, XrefRangeEnd = 609822, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override List<int> GetConstraintsInvolvingParticle(int particleIndex)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = ref particleIndex;
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiVolumeConstraintBatch.NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
IntPtr intPtr3 = intPtr;
|
|
return (intPtr3 != 0) ? new List<int>(intPtr3) : null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008DA0 RID: 36256 RVA: 0x002468D0 File Offset: 0x00244AD0
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 609822, XrefRangeEnd = 609830, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnAddToSolver(ObiBatchedConstraints constraints)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(constraints);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiVolumeConstraintBatch.NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008DA1 RID: 36257 RVA: 0x00246934 File Offset: 0x00244B34
|
|
[CallerCount(5585)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void OnRemoveFromSolver(ObiBatchedConstraints constraints)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(constraints);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiVolumeConstraintBatch.NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008DA2 RID: 36258 RVA: 0x00246998 File Offset: 0x00244B98
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 609830, XrefRangeEnd = 609857, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void PushDataToSolver(ObiBatchedConstraints constraints)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(constraints);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiVolumeConstraintBatch.NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008DA3 RID: 36259 RVA: 0x002469FC File Offset: 0x00244BFC
|
|
[CallerCount(5585)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
|
|
public unsafe override void PullDataFromSolver(ObiBatchedConstraints constraints)
|
|
{
|
|
IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
checked
|
|
{
|
|
IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
|
|
*ptr = IL2CPP.Il2CppObjectBaseToPtr(constraints);
|
|
IntPtr intPtr2;
|
|
IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), ObiVolumeConstraintBatch.NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
|
|
Il2CppException.RaiseExceptionIfNecessary(intPtr2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06008DA4 RID: 36260 RVA: 0x00246A60 File Offset: 0x00244C60
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
static ObiVolumeConstraintBatch()
|
|
{
|
|
Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "Obi", "ObiVolumeConstraintBatch");
|
|
IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr);
|
|
ObiVolumeConstraintBatch.NativeFieldInfoPtr_triangleIndices = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, "triangleIndices");
|
|
ObiVolumeConstraintBatch.NativeFieldInfoPtr_firstTriangle = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, "firstTriangle");
|
|
ObiVolumeConstraintBatch.NativeFieldInfoPtr_numTriangles = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, "numTriangles");
|
|
ObiVolumeConstraintBatch.NativeFieldInfoPtr_restVolumes = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, "restVolumes");
|
|
ObiVolumeConstraintBatch.NativeFieldInfoPtr_pressureStiffness = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, "pressureStiffness");
|
|
ObiVolumeConstraintBatch.NativeFieldInfoPtr_solverIndices = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, "solverIndices");
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674217);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674218);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_Clear_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674219);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_AddConstraint_Public_Void_Il2CppStructArray_1_Int32_Single_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674220);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674221);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674222);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674223);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674224);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674225);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674226);
|
|
}
|
|
|
|
// Token: 0x06008DA5 RID: 36261 RVA: 0x00242A70 File Offset: 0x00240C70
|
|
public ObiVolumeConstraintBatch(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17003022 RID: 12322
|
|
// (get) Token: 0x06008DA6 RID: 36262 RVA: 0x00246BD0 File Offset: 0x00244DD0
|
|
// (set) Token: 0x06008DA7 RID: 36263 RVA: 0x00246C04 File Offset: 0x00244E04
|
|
public unsafe List<int> triangleIndices
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_triangleIndices);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<int>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_triangleIndices), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003023 RID: 12323
|
|
// (get) Token: 0x06008DA8 RID: 36264 RVA: 0x00246C2C File Offset: 0x00244E2C
|
|
// (set) Token: 0x06008DA9 RID: 36265 RVA: 0x00246C60 File Offset: 0x00244E60
|
|
public unsafe List<int> firstTriangle
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_firstTriangle);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<int>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_firstTriangle), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003024 RID: 12324
|
|
// (get) Token: 0x06008DAA RID: 36266 RVA: 0x00246C88 File Offset: 0x00244E88
|
|
// (set) Token: 0x06008DAB RID: 36267 RVA: 0x00246CBC File Offset: 0x00244EBC
|
|
public unsafe List<int> numTriangles
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_numTriangles);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<int>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_numTriangles), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003025 RID: 12325
|
|
// (get) Token: 0x06008DAC RID: 36268 RVA: 0x00246CE4 File Offset: 0x00244EE4
|
|
// (set) Token: 0x06008DAD RID: 36269 RVA: 0x00246D18 File Offset: 0x00244F18
|
|
public unsafe List<float> restVolumes
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_restVolumes);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<float>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_restVolumes), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003026 RID: 12326
|
|
// (get) Token: 0x06008DAE RID: 36270 RVA: 0x00246D40 File Offset: 0x00244F40
|
|
// (set) Token: 0x06008DAF RID: 36271 RVA: 0x00246D74 File Offset: 0x00244F74
|
|
public unsafe List<Vector2> pressureStiffness
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_pressureStiffness);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new List<Vector2>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_pressureStiffness), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003027 RID: 12327
|
|
// (get) Token: 0x06008DB0 RID: 36272 RVA: 0x00246D9C File Offset: 0x00244F9C
|
|
// (set) Token: 0x06008DB1 RID: 36273 RVA: 0x00246DD0 File Offset: 0x00244FD0
|
|
public unsafe Il2CppStructArray<int> solverIndices
|
|
{
|
|
get
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_solverIndices);
|
|
IntPtr intPtr2 = *intPtr;
|
|
return (intPtr2 != 0) ? new Il2CppStructArray<int>(intPtr2) : null;
|
|
}
|
|
set
|
|
{
|
|
IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
|
|
IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ObiVolumeConstraintBatch.NativeFieldInfoPtr_solverIndices), IL2CPP.Il2CppObjectBaseToPtr(value));
|
|
}
|
|
}
|
|
|
|
// Token: 0x04005E68 RID: 24168
|
|
private static readonly IntPtr NativeFieldInfoPtr_triangleIndices;
|
|
|
|
// Token: 0x04005E69 RID: 24169
|
|
private static readonly IntPtr NativeFieldInfoPtr_firstTriangle;
|
|
|
|
// Token: 0x04005E6A RID: 24170
|
|
private static readonly IntPtr NativeFieldInfoPtr_numTriangles;
|
|
|
|
// Token: 0x04005E6B RID: 24171
|
|
private static readonly IntPtr NativeFieldInfoPtr_restVolumes;
|
|
|
|
// Token: 0x04005E6C RID: 24172
|
|
private static readonly IntPtr NativeFieldInfoPtr_pressureStiffness;
|
|
|
|
// Token: 0x04005E6D RID: 24173
|
|
private static readonly IntPtr NativeFieldInfoPtr_solverIndices;
|
|
|
|
// Token: 0x04005E6E RID: 24174
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0;
|
|
|
|
// Token: 0x04005E6F RID: 24175
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0;
|
|
|
|
// Token: 0x04005E70 RID: 24176
|
|
private static readonly IntPtr NativeMethodInfoPtr_Clear_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x04005E71 RID: 24177
|
|
private static readonly IntPtr NativeMethodInfoPtr_AddConstraint_Public_Void_Il2CppStructArray_1_Int32_Single_Single_Single_0;
|
|
|
|
// Token: 0x04005E72 RID: 24178
|
|
private static readonly IntPtr NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0;
|
|
|
|
// Token: 0x04005E73 RID: 24179
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0;
|
|
|
|
// Token: 0x04005E74 RID: 24180
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005E75 RID: 24181
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005E76 RID: 24182
|
|
private static readonly IntPtr NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04005E77 RID: 24183
|
|
private static readonly IntPtr NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0;
|
|
}
|
|
}
|