Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FGeometryParticleStateBase |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
| Include Path | #include "RewindData.h" |
Syntax
struct FGeometryParticleStateBase
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometryParticleStateBase
(
int32 NumFrames, |
RewindData.h | ||
FGeometryParticleStateBase
(
FGeometryParticleStateBase&& Other |
RewindData.h | ||
FGeometryParticleStateBase
(
const FGeometryParticleStateBase& Other |
RewindData.h | ||
PRAGMA_DISABLE_DEPRECATION_WARNINGS FGeometryParticleStateBase
(
int32 NumFrames |
RewindData.h | ||
| Can be removed when Deprecations are removed. | RewindData.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FGeometryParticleStateBase() |
RewindData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Dynamics | TParticlePropertyBuffer< FParticleDynamics, EChaosProperty::Dynamics, false > | RewindData.h | ||
| DynamicsMisc | TParticlePropertyBuffer< FParticleDynamicMisc, EChaosProperty::DynamicMisc > | RewindData.h | ||
| KinematicTarget | TParticlePropertyBuffer< FKinematicTarget, EChaosProperty::KinematicTarget, false > | RewindData.h | ||
| MassProps | TParticlePropertyBuffer< FParticleMassProps, EChaosProperty::MassProps > | RewindData.h | ||
| NonFrequentData | TParticlePropertyBuffer< FParticleNonFrequentData, EChaosProperty::NonFrequentData > | RewindData.h | ||
| ParticlePositionRotation | TParticlePropertyBuffer< FParticlePositionRotation, EChaosProperty::XR > | Setting bNoEntryIsHead = false in TParticlePropertyBuffer allows us to not cache the data each frame and it will only return entries for a specific frame when fetched For example, we don't need to cache a kinematic target that is set to None, instead we only cache when it's not set to None and if we don't have an entry for a specific frame we can expect it to be a None kinematic target. | RewindData.h | |
| PreCorrectionXR | FParticlePositionRotation | RewindData.h | ||
| ShapesArrayState | FShapesArrayStateBase | RewindData.h | ||
| TargetPositions | TParticlePropertyBuffer< FParticlePositionRotation, EChaosProperty::XR, false > | RewindData.h | ||
| TargetStates | TParticlePropertyBuffer< FParticleDynamicMisc, EChaosProperty::DynamicMisc, false > | RewindData.h | ||
| TargetVelocities | TParticlePropertyBuffer< FParticleVelocities, EChaosProperty::Velocities, false > | RewindData.h | ||
| Velocities | TParticlePropertyBuffer< FParticleVelocities, EChaosProperty::Velocities > | RewindData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CachePreCorrectionState
(
const TParticle& Particle |
RewindData.h | ||
void ClearEntryAndFuture
(
const FFrameAndPhase FrameAndPhase |
RewindData.h | ||
void ExtractHistoryState
(
int32& PositionValidCount, |
RewindData.h | ||
bool IsClean
(
const FFrameAndPhase FrameAndPhase |
RewindData.h | ||
bool IsCleanExcludingDynamics
(
const FFrameAndPhase FrameAndPhase |
RewindData.h | ||
bool IsInSync
(
const FGeometryParticleHandle& Handle, |
RewindData.h | ||
void Release
(
FDirtyPropertiesPool& Manager |
RewindData.h | ||
void Reset() |
RewindData.h | ||
void RestoreHistoryState
(
const int32& PositionValidCount, |
RewindData.h | ||
void SyncDirtyDynamics
(
FDirtyPropData& DestManager, |
RewindData.h | ||
void SyncSimWritablePropsFromSim
(
FDirtyPropData Manager, |
RewindData.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TShapesArrayState< TParticle > ShapesArray
(
const FGeometryParticleStateBase* State, |
RewindData.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Can be removed when Deprecations are removed. | RewindData.h | ||
| Can be removed when Deprecations are removed. | RewindData.h |