Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FEvolutionResimCache |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/EvolutionResimCache.h |
| Include Path | #include "Chaos/EvolutionResimCache.h" |
Syntax
class FEvolutionResimCache : public Chaos::IResimCacheBase
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEvolutionResimCache() |
Chaos/EvolutionResimCache.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FEvolutionResimCache() |
Chaos/EvolutionResimCache.h |
Structs
| Name | Remarks |
|---|---|
| FPBDSolveCache | |
| FWeakConstraintPair |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ParticleCacheAllocationSize | int32 | Chaos/EvolutionResimCache.h | ||
| ParticleToCachedSolve | TMap< FUniqueIdx, FPBDSolveCache > | Chaos/EvolutionResimCache.h | ||
| SavedConstraints | TArray< FPBDCollisionConstraint > | NOTE: You must sanitize this before using. This can contain dangling pointers or invalid constraints. | Chaos/EvolutionResimCache.h | |
| WeakSinglePointConstraints | TArray< FWeakConstraintPair > | TODO: better way to handle this? | Chaos/EvolutionResimCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< FPBDCollisionConstraint > & GetAndSanitizeConstraints() |
Returns all constraints that are still valid (resim can invalidate constraints by either deleting particles, moving particles, etc...) | Chaos/EvolutionResimCache.h | |
bool ReloadParticlePostSolve
(
FPBDRigidParticleHandle& Particle |
Chaos/EvolutionResimCache.h | ||
void SaveConstraints
(
TArrayView< const FPBDCollisionConstraint*const > CollisionsArray |
Chaos/EvolutionResimCache.h | ||
void SaveParticlePostSolve
(
const FPBDRigidParticleHandle& Particle |
Chaos/EvolutionResimCache.h |
Overridden from IResimCacheBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ResetCache() |
Chaos/EvolutionResimCache.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool MarkSoftIfDesync
(
TGeometryParticleHandle< FReal, 3 >& A, |
Chaos/EvolutionResimCache.h |