| FNonAbandonableTask
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/ChaosSolvers/Public/Framework/PersistentTask.h |
Include |
#include "Framework/PersistentTask.h" |
class FPersistentPhysicsTask : public FNonAbandonableTask
Name | Description | |
---|---|---|
|
FPersistentPhysicsTask ( |
Name | Description | |
---|---|---|
|
~FPersistentPhysicsTask() |
Name | Description | ||
---|---|---|---|
|
AddSolver ( |
Adds a solver to the internal list of solvers to run on the async task. |
|
|
DoWork() |
Entry point for the physics "thread". |
|
|
FPersistentP... |
GetNextThreadStatistics_GameThread() |
Get a copy of the thread stats for the physics task. |
|
FEvent * |
GetShutdownEvent() |
Get the shutdown event, which this task will trigger when the main running loop in DoWork is broken |
|
RemoveSolver ( |
Removes a solver from the internal list of solvers to run on the async task |
|
|
RequestShutdown() |
Request a shutdown of the current task. |
|
|
SetTargetDt ( |
Below functions alter the running task state and should be called using commands once the task is actually running Sets the target per-tick Dt. |
|
|
SetTickMode ( |
Sets the tickmode for the thread, this controls how timesteps are calculated |
|
|
SyncProxiesFromCache ( |
Synchronize proxies to their most recent gamethread readable results |