Navigation
API > API/Runtime > API/Runtime/Chaos
An entry in a clustered particle's ConnectivityEdges_ array, indicating a connection between that body and Sibling_, with a strength breakable by a `Strain_ threshold.
TODO: Chaos - Add dimension template param?
| Name | TConnectivityEdge |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDRigidClusteredParticles.h |
| Include Path | #include "Chaos/PBDRigidClusteredParticles.h" |
Syntax
template<typename T>
struct TConnectivityEdge
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chaos/PBDRigidClusteredParticles.h | |||
TConnectivityEdge
(
const TConnectivityEdge& Other |
Chaos/PBDRigidClusteredParticles.h | ||
TConnectivityEdge
(
TPBDRigidParticleHandle< T, 3 >* InSibling, |
Chaos/PBDRigidClusteredParticles.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Sibling | TPBDRigidParticleHandle< T, 3 > * | Chaos/PBDRigidClusteredParticles.h | ||
| Strain | Chaos::FRealSingle | This can be both strain or area based on the damage model, but cannot rename it for backward compatibility reasons | Chaos/PBDRigidClusteredParticles.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
Chaos::FRealSingle GetArea() |
Chaos/PBDRigidClusteredParticles.h | ||
void SetArea
(
Chaos::FRealSingle Area |
Getter/functions functions to make calling code less confusing | Chaos/PBDRigidClusteredParticles.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const TPBDRigidParticleHandle< T, 3 >* OtherSibling |
Compares by OtherSibling_ only, for TArray::FindByKey()_. |
Chaos/PBDRigidClusteredParticles.h |