Navigation
API > API/Runtime > API/Runtime/Chaos
A Particle Rule that applies some effect to all particles in parallel. This should only be used if the effect on any particle is independent of all others (i.e., the implementation of ApplySingle only reads/writes to the one particle).
| Name | FPerParticleRule |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PerParticleRule.h |
| Include Path | #include "Chaos/PerParticleRule.h" |
Syntax
class FPerParticleRule : public Chaos::FParticleRule
Inheritance Hierarchy
- FParticleRule → FPerParticleRule
Derived Classes
FPerParticleRule derived class hierarchy
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Apply
(
TPBDRigidParticleHandle< FReal, 3 >* Particle, |
Chaos/PerParticleRule.h | ||
virtual void Apply
(
TTransientPBDRigidParticleHandle< FReal, 3 >& Particle, |
Chaos/PerParticleRule.h | ||
virtual void Apply
(
FParticles& InParticles, |
Chaos/PerParticleRule.h | ||
virtual void Apply
(
FDynamicParticles& InParticles, |
Chaos/PerParticleRule.h | ||
virtual void Apply
(
FPBDParticles& InParticles, |
Chaos/PerParticleRule.h | ||
virtual void Apply
(
TRigidParticles< FReal, 3 >& InParticles, |
Chaos/PerParticleRule.h | ||
virtual void Apply
(
FPBDRigidParticles& InParticles, |
Chaos/PerParticleRule.h | ||
void ApplyPerParticle
(
T_PARTICLES& InParticles, |
Chaos/PerParticleRule.h |
Overridden from FParticleRule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Apply
(
FParticles& InParticles, |
Chaos/PerParticleRule.h | ||
virtual void Apply
(
FDynamicParticles& InParticles, |
Chaos/PerParticleRule.h | ||
virtual void Apply
(
FPBDParticles& InParticles, |
Chaos/PerParticleRule.h |