TPerParticleRule

A Particle Rule that applies some effect to all particles in parallel.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PerParticleRule.h

Include

#include "Chaos/PerParticleRule.h"

Syntax

template<class T, int d>
class TPerParticleRule : public Chaos::TParticleRule< T, d >

Remarks

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).

Functions

Name Description

Public function Virtual Const

void

 

Apply

(
    TPBDRigidParticleHandle< T, d >...,
    const T Dt
)

Public function Virtual Const

void

 

Apply

(
    TTransientPBDRigidParticleHandle< T...,
    const T Dt
)

Public function Virtual Const

void

 

Apply

(
    TParticles< T, d >& InParticles,
    const T Dt,
    const int Index
)

Public function Virtual Const

void

 

Apply

(
    TDynamicParticles< T, d >& InParti...,
    const T Dt,
    const int Index
)

Public function Virtual Const

void

 

Apply

(
    TPBDParticles< T, d >& InParticles,
    const T Dt,
    const int Index
)

Public function Virtual Const

void

 

Apply

(
    TRigidParticles< T, d >& InParticl...,
    const T Dt,
    const int Index
)

Public function Virtual Const

void

 

Apply

(
    TPBDRigidParticles< T, d >& InPart...,
    const T Dt,
    const int Index
)

Public function Const

void

 

ApplyPerParticle

(
    T_PARTICLES& InParticles,
    const T Dt
)

Overridden from TParticleRule

Name Description

Public function Virtual Const

void

 

Apply

(
    TParticles< T, d >& InParticles,
    const T Dt
)

Public function Virtual Const

void

 

Apply

(
    TDynamicParticles< T, d >& InParti...,
    const T Dt
)

Public function Virtual Const

void

 

Apply

(
    TPBDParticles< T, d >& InParticles,
    const T Dt
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss