Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FPBDExtremeDeformationConstraint-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |
IsExtremelyDeformed(TConstArrayView< Softs::FSolverVec3 >)
Description
Returns if edges (after being pruned during initialization) are deformed above threshold compared to the rest positions.
| Name | IsExtremelyDeformed |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDExtremeDeformationConstraints.h |
| Include Path | #include "Chaos/PBDExtremeDeformationConstraints.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/PBDExtremeDeformationConstraints.cpp |
bool IsExtremelyDeformed
(
TConstArrayView< Softs::FSolverVec3 > Positions
) const
Parameters
| Name | Remarks |
|---|---|
| Positions | The solver particle positions, e.g. ClothingSimulationSolver.GetParticleXs(). |
| Threshold | edge ratio threshold to trigger detection. |
IsExtremelyDeformed(TConstArrayView< Softs::FSolverVec3 >, const Softs::FSolverVec3 *const)
Description
Returns if edges (after being pruned during initialization) are deformed above threshold compared to the reference positions.
| Name | IsExtremelyDeformed |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDExtremeDeformationConstraints.h |
| Include Path | #include "Chaos/PBDExtremeDeformationConstraints.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/PBDExtremeDeformationConstraints.cpp |
bool IsExtremelyDeformed
(
TConstArrayView< Softs::FSolverVec3 > Positions,
const Softs::FSolverVec3 *const RefencePositions
) const
Parameters
| Name | Remarks |
|---|---|
| Positions | The solver particle positions, e.g. ClothingSimulationSolver.GetParticleXs(). |
| ReferencePositions | The reference particle positions, e.g. ClothingSimulationSolver.GetAnimationPositions(ParticleRangeId) if using the animation pose as reference. |
| Threshold | edge ratio threshold to trigger detection. |