Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FPBDExtremeDeformationConstraints |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDExtremeDeformationConstraints.h |
| Include Path | #include "Chaos/PBDExtremeDeformationConstraints.h" |
Syntax
class FPBDExtremeDeformationConstraints
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPBDExtremeDeformationConstraints
(
const FSolverParticles& Particles, |
Chaos/PBDExtremeDeformationConstraints.h | ||
FPBDExtremeDeformationConstraints
(
const FSolverParticlesRange& Particles, |
Chaos/PBDExtremeDeformationConstraints.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPBDExtremeDeformationConstraints() |
Chaos/PBDExtremeDeformationConstraints.h |
Structs
| Name | Remarks |
|---|---|
| FExtremeDeformationEdgeRatioThresholdIndex |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ExtremeDeformationEdgeRatioThresholdName | const FName | Chaos/PBDExtremeDeformationConstraints.h | |
| ExtremeDeformationVertexSelectionName | const FName | Chaos/PBDExtremeDeformationConstraints.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Constraints | TArray< TVec2< int32 > > | Chaos/PBDExtremeDeformationConstraints.h | ||
| Dists | TArray< FSolverReal > | Chaos/PBDExtremeDeformationConstraints.h | ||
| ExtremeDeformationEdgeRatioThresholdIndex | Chaos::Softs::FPBDExtremeDeformationConstraints::FExtremeDeformationEdgeRatioThresholdIndex | Chaos/PBDExtremeDeformationConstraints.h | ||
| ExtremeDeformationThreshold | FSolverReal | Chaos/PBDExtremeDeformationConstraints.h | ||
| ParticleCount | const int32 | Chaos/PBDExtremeDeformationConstraints.h | ||
| ParticleOffset | const int32 | Chaos/PBDExtremeDeformationConstraints.h | ||
| VertexSet | const TSet< int32 > * | Chaos/PBDExtremeDeformationConstraints.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< TVec2< int32 > > & GetConstraints() |
Chaos/PBDExtremeDeformationConstraints.h | ||
TArray< TVec2< int32 > > GetExtremelyDeformedEdges
(
TConstArrayView< Softs::FSolverVec3 > Positions, |
Returns edges that are deformed above threshold compared to reference positions. | Chaos/PBDExtremeDeformationConstraints.h | |
TArray< TVec2< int32 > > GetExtremelyDeformedEdges
(
TConstArrayView< Softs::FSolverVec3 > Positions |
Returns all edges (after being pruned during initialization) that are deformed above threshold compared to the rest positions. | Chaos/PBDExtremeDeformationConstraints.h | |
FSolverReal GetThreshold() |
Chaos/PBDExtremeDeformationConstraints.h | ||
bool IsExtremelyDeformed
(
TConstArrayView< Softs::FSolverVec3 > Positions |
Returns if edges (after being pruned during initialization) are deformed above threshold compared to the rest positions. | Chaos/PBDExtremeDeformationConstraints.h | |
bool IsExtremelyDeformed
(
TConstArrayView< Softs::FSolverVec3 > Positions, |
Returns if edges (after being pruned during initialization) are deformed above threshold compared to the reference positions. | Chaos/PBDExtremeDeformationConstraints.h | |
void SetProperties
(
const FCollectionPropertyConstFacade& PropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float GetExtremeDeformationEdgeRatioThreshold
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static FString GetExtremeDeformationEdgeRatioThresholdString
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static bool GetExtremeDeformationVertexSelection
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static FString GetExtremeDeformationVertexSelectionString
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static float GetHighExtremeDeformationEdgeRatioThreshold
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static bool GetHighExtremeDeformationVertexSelection
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static float GetLowExtremeDeformationEdgeRatioThreshold
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static bool GetLowExtremeDeformationVertexSelection
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static TPair< float, float > GetWeightedExtremeDeformationEdgeRatioThreshold
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static TPair< bool, bool > GetWeightedExtremeDeformationVertexSelection
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static FVector2f GetWeightedFloatExtremeDeformationEdgeRatioThreshold
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static FVector2f GetWeightedFloatExtremeDeformationEdgeRatioThreshold
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static FVector2f GetWeightedFloatExtremeDeformationVertexSelection
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static FVector2f GetWeightedFloatExtremeDeformationVertexSelection
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static bool IsEnabled
(
const FCollectionPropertyConstFacade& PropertyCollection |
Chaos/PBDExtremeDeformationConstraints.h | ||
static bool IsExtremeDeformationEdgeRatioThresholdAnimatable
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static bool IsExtremeDeformationEdgeRatioThresholdEnabled
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static bool IsExtremeDeformationVertexSelectionAnimatable
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
static bool IsExtremeDeformationVertexSelectionEnabled
(
const ::Chaos::Softs::FCollectionPropertyConstFacade& InPropertyCollection, |
Chaos/PBDExtremeDeformationConstraints.h | ||
| Chaos/PBDExtremeDeformationConstraints.h |