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: 0x02000519 RID: 1305
|
|
[Serializable]
|
|
public class ObiVolumeConstraintBatch : ObiConstraintBatch
|
|
{
|
|
// Token: 0x060095ED RID: 38381 RVA: 0x00269394 File Offset: 0x00267594
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 642025, XrefRangeEnd = 642057, 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: 0x060095EE RID: 38382 RVA: 0x00269404 File Offset: 0x00267604
|
|
[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: 0x060095EF RID: 38383 RVA: 0x00269460 File Offset: 0x00267660
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 642057, XrefRangeEnd = 642072, 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: 0x060095F0 RID: 38384 RVA: 0x002694B0 File Offset: 0x002676B0
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 642072, XrefRangeEnd = 642089, 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: 0x060095F1 RID: 38385 RVA: 0x00269544 File Offset: 0x00267744
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 642089, XrefRangeEnd = 642117, 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: 0x060095F2 RID: 38386 RVA: 0x00269598 File Offset: 0x00267798
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 642117, XrefRangeEnd = 642132, 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: 0x060095F3 RID: 38387 RVA: 0x0026960C File Offset: 0x0026780C
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 642132, XrefRangeEnd = 642140, 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: 0x060095F4 RID: 38388 RVA: 0x00269670 File Offset: 0x00267870
|
|
[CallerCount(5874)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, 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: 0x060095F5 RID: 38389 RVA: 0x002696D4 File Offset: 0x002678D4
|
|
[CallerCount(0)]
|
|
[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 642140, XrefRangeEnd = 642167, 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: 0x060095F6 RID: 38390 RVA: 0x00269738 File Offset: 0x00267938
|
|
[CallerCount(5874)]
|
|
[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, 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: 0x060095F7 RID: 38391 RVA: 0x0026979C File Offset: 0x0026799C
|
|
// 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, 100674930);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674931);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_Clear_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674932);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_AddConstraint_Public_Void_Il2CppStructArray_1_Int32_Single_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674933);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674934);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674935);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674936);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674937);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674938);
|
|
ObiVolumeConstraintBatch.NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ObiVolumeConstraintBatch>.NativeClassPtr, 100674939);
|
|
}
|
|
|
|
// Token: 0x060095F8 RID: 38392 RVA: 0x002657AC File Offset: 0x002639AC
|
|
public ObiVolumeConstraintBatch(IntPtr pointer)
|
|
: base(pointer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170032BD RID: 12989
|
|
// (get) Token: 0x060095F9 RID: 38393 RVA: 0x0026990C File Offset: 0x00267B0C
|
|
// (set) Token: 0x060095FA RID: 38394 RVA: 0x00269940 File Offset: 0x00267B40
|
|
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: 0x170032BE RID: 12990
|
|
// (get) Token: 0x060095FB RID: 38395 RVA: 0x00269968 File Offset: 0x00267B68
|
|
// (set) Token: 0x060095FC RID: 38396 RVA: 0x0026999C File Offset: 0x00267B9C
|
|
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: 0x170032BF RID: 12991
|
|
// (get) Token: 0x060095FD RID: 38397 RVA: 0x002699C4 File Offset: 0x00267BC4
|
|
// (set) Token: 0x060095FE RID: 38398 RVA: 0x002699F8 File Offset: 0x00267BF8
|
|
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: 0x170032C0 RID: 12992
|
|
// (get) Token: 0x060095FF RID: 38399 RVA: 0x00269A20 File Offset: 0x00267C20
|
|
// (set) Token: 0x06009600 RID: 38400 RVA: 0x00269A54 File Offset: 0x00267C54
|
|
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: 0x170032C1 RID: 12993
|
|
// (get) Token: 0x06009601 RID: 38401 RVA: 0x00269A7C File Offset: 0x00267C7C
|
|
// (set) Token: 0x06009602 RID: 38402 RVA: 0x00269AB0 File Offset: 0x00267CB0
|
|
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: 0x170032C2 RID: 12994
|
|
// (get) Token: 0x06009603 RID: 38403 RVA: 0x00269AD8 File Offset: 0x00267CD8
|
|
// (set) Token: 0x06009604 RID: 38404 RVA: 0x00269B0C File Offset: 0x00267D0C
|
|
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: 0x04006411 RID: 25617
|
|
private static readonly IntPtr NativeFieldInfoPtr_triangleIndices;
|
|
|
|
// Token: 0x04006412 RID: 25618
|
|
private static readonly IntPtr NativeFieldInfoPtr_firstTriangle;
|
|
|
|
// Token: 0x04006413 RID: 25619
|
|
private static readonly IntPtr NativeFieldInfoPtr_numTriangles;
|
|
|
|
// Token: 0x04006414 RID: 25620
|
|
private static readonly IntPtr NativeFieldInfoPtr_restVolumes;
|
|
|
|
// Token: 0x04006415 RID: 25621
|
|
private static readonly IntPtr NativeFieldInfoPtr_pressureStiffness;
|
|
|
|
// Token: 0x04006416 RID: 25622
|
|
private static readonly IntPtr NativeFieldInfoPtr_solverIndices;
|
|
|
|
// Token: 0x04006417 RID: 25623
|
|
private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Boolean_Boolean_0;
|
|
|
|
// Token: 0x04006418 RID: 25624
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintType_Public_Virtual_ConstraintType_0;
|
|
|
|
// Token: 0x04006419 RID: 25625
|
|
private static readonly IntPtr NativeMethodInfoPtr_Clear_Public_Virtual_Void_0;
|
|
|
|
// Token: 0x0400641A RID: 25626
|
|
private static readonly IntPtr NativeMethodInfoPtr_AddConstraint_Public_Void_Il2CppStructArray_1_Int32_Single_Single_Single_0;
|
|
|
|
// Token: 0x0400641B RID: 25627
|
|
private static readonly IntPtr NativeMethodInfoPtr_RemoveConstraint_Public_Void_Int32_0;
|
|
|
|
// Token: 0x0400641C RID: 25628
|
|
private static readonly IntPtr NativeMethodInfoPtr_GetConstraintsInvolvingParticle_Public_Virtual_List_1_Int32_Int32_0;
|
|
|
|
// Token: 0x0400641D RID: 25629
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnAddToSolver_Protected_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x0400641E RID: 25630
|
|
private static readonly IntPtr NativeMethodInfoPtr_OnRemoveFromSolver_Protected_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x0400641F RID: 25631
|
|
private static readonly IntPtr NativeMethodInfoPtr_PushDataToSolver_Public_Virtual_Void_ObiBatchedConstraints_0;
|
|
|
|
// Token: 0x04006420 RID: 25632
|
|
private static readonly IntPtr NativeMethodInfoPtr_PullDataFromSolver_Public_Virtual_Void_ObiBatchedConstraints_0;
|
|
}
|
|
}
|