TPerParticleGravity

Windows
MacOS
Linux

Inheritance Hierarchy

TParticleRule

TPerParticleRule

TPerParticleGravity

References

Module

Chaos

Header

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

Include

#include "Chaos/PerParticleGravity.h"

Syntax

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

Constructors

Name Description

Public function

TPerParticleGravity()

Public function

TPerParticleGravity

(
    const TVector < T, d >& G
)

Public function

TPerParticleGravity

(
    const TVector < T, d >& Direction,
    const T Magnitude
)

Destructors

Name Description

Public function Virtual

~TPerParticleGravity()

Functions

Name Description

Public function Const

void

 

ApplyHelper

(
    T_PARTICLES& InParticles,
    const T Dt,
    const int Index
)

TODO: Remove this - we should no longer be using indices directly.

Public function Const

const TVecto ...

 

GetAcceleration()

Public function

bool

 

GetEnabled

(
    const TGeometryParticleHandleImp < T...
)

Public function

void

 

SetAcceleration

(
    const TVector < T, d >& Acceleratio...
)

Public function

void

 

SetEnabled

(
    const TGeometryParticleHandleImp < T...,
    bool bEnabled
)

Overridden from TPerParticleRule

Name Description

Public function Virtual Const

void

 

Apply

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

Public function Virtual Const

void

 

Apply

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

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