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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback