Navigation
API > API/Runtime > API/Runtime/Chaos
Description
Wraps any additions to the cluster union geometry. We assume that the input lambda Func will modify the cluster union particle's geometry and shapes with the input particles. This function will make sure the newly added shapes are setup properly with the expected properties (sim data, query data, user data etc.).
| Name | Chaos::ModifyAdditionOfChildrenToClusterUnionGeometry |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ClusterUnionManager.h |
| Include Path | #include "Chaos/ClusterUnionManager.h" |
namespace Chaos
{
template<typename TClusterParticle, typename TParticle, typename TLambda>
void Chaos::ModifyAdditionOfChildrenToClusterUnionGeometry
(
TClusterParticle * ClusterParticle,
const TArray < TParticle * > & Particles,
int32 ActorId,
int32 ComponentId,
TLambda && Func
)
}