Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDRigidClusteredParticles.h |
Include | #include "Chaos/PBDRigidClusteredParticles.h" |
Syntax
template<typename T>
struct TConnectivityEdge
Remarks
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?
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TPBDRigidParticleHandle< T, 3 > * | Sibling | |
![]() |
Chaos::FRealSingle | Strain | This can be both strain or area based on the damage model, but cannot rename it for backward compatibility reasons |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
TConnectivityEdge
(
const TConnectivityEdge& Other |
||
![]() |
TConnectivityEdge
(
TPBDRigidParticleHandle< T, 3 >* InSibling, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Chaos::FRealSingle | GetArea () |
|
![]() |
void | SetArea
(
Chaos::FRealSingle Area |
Getter/functions functions to make calling code less confusing |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator==
(
const TPBDRigidParticleHandle< T, 3 >* OtherSibling |
Compares by OtherSibling_ only, for TArray::FindByKey()_. |