struct MAGES::MeshDeformations::UpdateParticlesPhaseJob¶
Overview¶
Updates the particles phase. More…
struct UpdateParticlesPhaseJob: public IJobParallelFor
{
// fields
uint NewPhase;
int StartOffset;
NativeArray ParticlesPhase;
// methods
void Execute(int particleIndex);
};
Detailed Documentation¶
Updates the particles phase.
Fields¶
uint NewPhase
The new particle phase.
int StartOffset
The start offset in the particles phase array.
Used to update particles only in a specific range.
NativeArrayParticlesPhase
The current particle phases.