Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/FieldSystemProxyHelper.h |
Include |
#include "PhysicsProxy/FieldSystemProxyHelper.h" |
namespace Chaos
{
template<typename PhysicsProxy>
bool Chaos::BuildFieldSamplePoints
(
PhysicsProxy * LocalProxy,
Chaos::FPBDRigidsSolver * RigidSolver,
const FFieldSystemCommand & FieldCommand,
TArray< Chaos::FGeometryParticleHandle * > & ParticleHandles,
TArray< FVector > & SamplePositions,
TArray< FFieldContextIndex > & SampleIndices,
EFieldResolutionType & PrevResolutionType,
EFieldFilterType & PrevFilterType
)
}
Build the sample points positions and indices based on the resolution and filter type
Parameter |
Description |
---|---|
LocalProxy |
Physics proxy from which to extract the particle handles |
RigidSolver |
Rigid solver owning the particles |
FieldCommand |
Field command used to extract the resolution and filter meta data |
ParticleHandles |
List of particle handles extracted from the field command meta data |
SamplePositions |
Positions of the extracted sample points |
SampleIndices |
Indices of the extracted sample points |
PrevResolutionType |
Resolution of the previous command |
PrevFilterType |
Filter of the previous command |