Navigation
Unreal Engine C++ API Reference > Runtime > Chaos
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
Include | #include "RewindData.h" |
Syntax
class FRewindData
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FRewindData
(
FPBDRigidsSolver* InSolver, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AccumulateErrorIfNecessary
(
FGeometryParticleHandle& Obj, |
|
![]() |
void | AddInputsHistory
(
const TSharedPtr< FBaseRewindHistory >& InputsHistory |
Add Inputs history to the rewind datas for future use while resimulating |
![]() |
void | AddStatesHistory
(
const TSharedPtr< FBaseRewindHistory >& StatesHistory |
Add states history to the rewind datas for future use while rewinding |
![]() |
void | AdvanceFrame
(
FReal DeltaTime, |
|
![]() |
void | ApplyInputs
(
const int32 ApplyFrame, |
Apply the inputs from all the history Inputs datas |
![]() |
void | BufferPhysicsResults
(
TMap< const FSingleParticlePhysicsProxy*, struct FDirtyRigidParticleReplicationErrorData >& Di... |
|
![]() ![]() |
int32 | Capacity () |
|
![]() |
void | ClearPhaseAndFuture
(
FGeometryParticleHandle& Handle, |
Clear all the simulation history after Frame |
![]() ![]() |
int32 | CurrentFrame () |
|
![]() |
void | DumpHistory_Internal
(
const int32 FramePrintOffset, |
|
![]() |
void | ExtendHistoryWithFrame
(
const int32 Frame |
Extend the current history size to be sure to include the given frame |
![]() |
void | ExtractHistoryState
(
FGeometryParticleHandle& Handle, |
Extract some history information before cleaning/pushing state |
![]() |
int32 | FindValidResimFrame
(
const int32 RequestedFrame |
Find the first previous valid frame having received physics target from the server |
![]() |
void | FinishFrame () |
|
![]() ![]() |
IResimCacheBase * | ||
![]() ![]() |
FReal | GetDeltaTimeForFrame
(
int32 Frame |
|
![]() ![]() |
int32 | ||
![]() ![]() |
int32 | ||
![]() ![]() |
int32 | Number of particles that we're currently storing history for. | |
![]() ![]() |
FJointState | GetPastJointStateAtFrame
(
const FPBDJointConstraintHandle& Handle, |
Query the state of joints from the past. Can only be used when not already resimming |
![]() ![]() |
FGeometryParticleState | GetPastStateAtFrame
(
const FGeometryParticleHandle& Handle, |
Query the state of particles from the past. Can only be used when not already resimming |
![]() |
int32 | Get and set the frame we resimulate from | |
![]() ![]() |
const FPBDRigidsSolver * | GetSolver () |
Return the rewind data solver |
![]() |
void | Init
(
FPBDRigidsSolver* InSolver, |
|
![]() ![]() |
bool | IsFinalResim () |
|
![]() ![]() |
bool | IsResim () |
|
![]() |
void | MarkDirtyFromPT
(
FGeometryParticleHandle& Handle |
|
![]() |
void | MarkDirtyJointFromPT
(
FPBDJointConstraintHandle& Handle |
|
![]() |
void | PushGTDirtyData
(
const FDirtyPropertiesManager& SrcManager, |
|
![]() |
void | PushPTDirtyData
(
TPBDRigidParticleHandle< FReal, 3 >& Rigid, |
|
![]() |
void | PushStateAtFrame
(
FGeometryParticleHandle& Handle, |
Push a physics state in the rewind datas at some frame |
![]() |
void | RemoveInputsHistory
(
const TSharedPtr< FBaseRewindHistory >& InputsHistory |
Remove Inputs history from the rewind datas |
![]() |
void | RemoveObject
(
const FGeometryParticleHandle* Particle |
|
![]() |
void | RemoveObject
(
const FPBDJointConstraintHandle* Joint |
|
![]() |
void | RemoveStatesHistory
(
const TSharedPtr< FBaseRewindHistory >& StatesHistory |
Remove states history from the rewind datas |
![]() |
void | RestoreHistoryState
(
FGeometryParticleHandle& Handle, |
Restore some history information after cleaning/pushing state |
![]() |
void | RewindStates
(
const int32 RewindFrame, |
Rewind the states from all the history states datas |
![]() |
void | SetResimFrame
(
int32 Frame |
|
![]() |
void | SetTargetStateAtFrame
(
FGeometryParticleHandle& Handle, |
|
![]() |
void | SpawnProxyIfNeeded
(
FSingleParticlePhysicsProxy& Proxy |
Typedefs
Name | Description |
---|---|
FDirtyJointInfo | |
FDirtyParticleInfo |