Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FRigidClustering
Description
This function is a bit more versatile than the name suggests. This function can either be used to update the cluster properties incrementally or entirely rebuild the properties all over again. This all depends on whether the input children is either 1) the new children or 2) all the children as well as what those initial properties are set to.
| Name | UpdateClusterParticlePropertiesFromChildren |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDRigidClustering.h |
| Include Path | #include "Chaos/PBDRigidClustering.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/PBDRigidClustering.cpp |
void UpdateClusterParticlePropertiesFromChildren
(
FPBDRigidClusteredParticleHandle * Cluster,
const FRigidHandleArray & Children,
const TMap < FPBDRigidParticleHandle *, FPBDRigidParticleHandle * > & ChildToParentMap
)