struct MAGES::MeshDeformations::DynamicSoftbodyActor::RecreateFlatMeshJob
struct RecreateFlatMeshJob: public IJobParallelFor
{
// fields
float4x4 WorldToLocalMatrix;
NativeArray VolumeConstraintsNeighbors;
NativeSlice ParticlesPosition;
NativeArray ParticlesUVs;
NativeSlice VolumeConstraintsEnabled;
NativeSlice VolumeConstraintsParticleA;
NativeSlice VolumeConstraintsParticleB;
NativeSlice VolumeConstraintsParticleC;
NativeSlice VolumeConstraintsParticleD;
NativeSlice VolumeConstraintsSubMeshIndex;
UnsafeAtomicCounter32 VertexCount;
NativeArray Vertices;
NativeArray UVs;
NativeArray BindInfo;
SubMeshIndexData* SubMeshIndexDataArray;
int SubMeshIndexDataArrayLength;
// methods
void Execute(int volumeConstraintIndex);
};