TVelocityField

Velocity field basic implementation TODO: Add lift

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/VelocityField.h"

Syntax

template<class T, int d>
class TVelocityField

Remarks

Velocity field basic implementation TODO: Add lift

Constructors

Name Description

Public function

TVelocityField()

Public function

TVelocityField

(
    const TTriangleMesh < T >& Triangle...,
    TFunction < TVector < T, d >(const TV ...,
    const bool bInIsUniform,
    const T DragCoefficient,
    const T FluidDensity
)

Destructors

Name Description

Public function Virtual

~TVelocityField()

Functions

Name Description

Public function Const

void

 

Apply

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

Public function Const

const TArray ...

 

GetElements()

Public function Const

const TArray ...

 

GetForces()

Public function

void

 

SetProperties

(
    const T DragCoefficient,
    const T FluidDensity
)

Public function Const

void

 

UpdateForces

(
    const TPBDParticles < T, d >& InPar...,
    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