Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/TWeightedLatticeImplicitObject
Description
Batch calls used by cloth. Note that if x is in an empty cell / outside the deformed lattice, Phi will be UE_BIG_NUMBER and Normal will be unchanged (BatchNormals will be resized using SetNumUninitialized, so it may be left uninitialized) All outputs will be unchanged (and possibly uninitialized) for points with InvM == 0.
| Name | BatchPhiWithNormal |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/WeightedLatticeImplicitObject.h |
| Include Path | #include "Chaos/WeightedLatticeImplicitObject.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/WeightedLatticeImplicitObject.cpp |
void BatchPhiWithNormal
(
const TConstArrayView< Softs::FPAndInvM > PAndInvMArray,
const Softs::FSolverRigidTransform3 & SolverToThis,
TArray < Softs::FSolverReal > & OutBatchPhis,
TArray < Softs::FSolverVec3 > & OutBatchNormals
) const