Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FClusterUnion |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ClusterUnionManager.h |
| Include Path | #include "Chaos/ClusterUnionManager.h" |
Syntax
struct FClusterUnion
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAnchorLock | bool | Whether or not the anchor got set by the GT and we shouldn't try to recompute its value. | Chaos/ClusterUnionManager.h | |
| bCheckConnectivity | bool | Whether or not we need to check for connectivity for this cluster union. | Chaos/ClusterUnionManager.h | |
| bGenerateConnectivityEdges | bool | Whether or not to generate connectivity edges (used to differentiate between server graphs vs client graphs). | Chaos/ClusterUnionManager.h | |
| bGeometryModified | bool | Whether the geometry for the union has change such that we will need to push a copy to the game thread. | Chaos/ClusterUnionManager.h | |
| bNeedsXRInitialization | bool | Whether or not the position/rotation needs to be computed the first time a particle is added. | Chaos/ClusterUnionManager.h | |
| ChildParticles | TArray< FPBDRigidParticleHandle * > | All the particles that belong to this cluster. | Chaos/ClusterUnionManager.h | |
| ChildProperties | TMap< FPBDRigidParticleHandle *, FClusterUnionParticleProperties > | Additional properties that are only relevant for particles that have been added into a cluster union. | Chaos/ClusterUnionManager.h | |
| ClusterUnionParameters | FClusterUnionCreationParameters | Other parameters that aren't related to clusters generally but are related to info we need about the cluster union. | Chaos/ClusterUnionManager.h | |
| ExplicitIndex | FClusterUnionExplicitIndex | An explicit index set by the user if any. | Chaos/ClusterUnionManager.h | |
| Geometry | Chaos::FImplicitObjectPtr | The thread-safe collision geometry that can be shared between the GT and PT. | Chaos/ClusterUnionManager.h | |
| GeometryChildParticles | TArray< FPBDRigidParticleHandle * > | All the particles that belong to this cluster that are currently in the implicit object geometry. | Chaos/ClusterUnionManager.h | |
| InternalCluster | FPBDRigidClusteredParticleHandle * | The root cluster particle that we created internally to represent the cluster. | Chaos/ClusterUnionManager.h | |
| InternalIndex | FClusterUnionIndex | The internal index used to reference the cluster union. | Chaos/ClusterUnionManager.h | |
| Parameters | FClusterCreationParameters | Need to remember the parameters used to create the cluster so we can update it later. | Chaos/ClusterUnionManager.h | |
| PendingConnectivityOperations | TArray< TPair< FPBDRigidParticleHandle *, EClusterUnionConnectivityOperation > > | Pending particles that need to be added into the connectivity graph. | Chaos/ClusterUnionManager.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PendingGeometryOperations | TMap< EClusterUnionGeometryOperation, TArray< FPBDRigidParticleHandle * > > | Pending particles that need to be added into/removed from the cluster union's geometry. | Chaos/ClusterUnionManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPendingGeometryOperation
(
EClusterUnionGeometryOperation Op, |
Chaos/ClusterUnionManager.h | ||
void ClearAllPendingGeometryOperations() |
Chaos/ClusterUnionManager.h | ||
void ClearPendingGeometryOperations
(
EClusterUnionGeometryOperation Op |
Chaos/ClusterUnionManager.h | ||
const TArray< FPBDRigidParticleHandle * > & GetPendingGeometryOperationParticles
(
EClusterUnionGeometryOperation Op |
Chaos/ClusterUnionManager.h | ||
bool IsGravityOverrideSet() |
Chaos/ClusterUnionManager.h |