![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SimCallbackObject.h>
Inheritance diagram for Chaos::FSimCallbackCommandObject:Friends | |
| struct | FSimCallbackInput |
Additional Inherited Members | |
Protected Member Functions inherited from Chaos::ISimCallbackObject | |
| ISimCallbackObject (const ESimCallbackOptions InOptions=ESimCallbackOptions::Presimulate) | |
| CHAOS_API FSimCallbackInput * | GetProducerInputData_External () |
| void | SetCurrentInput_Internal (FSimCallbackInput *NewInput) |
| void | SetSimAndDeltaTime_Internal (const FReal InSimTime, const FReal InDeltaTime) |
| const FSimCallbackInput * | GetCurrentInput_Internal () const |
Protected Attributes inherited from Chaos::ISimCallbackObject | |
| FSimCallbackOutput * | CurrentOutput_Internal |
Simple callback command object. Commands are typically passed in as lambdas and there's no need for data management. Should not be used directly, see FPhysicsSolverBase::EnqueueCommand
|
inline |
|
inline |
|
inlinevirtual |
Free the output data. Note that allocation is done on the internal thread, but freeing is done on the external thread. A common pattern is to use a single producer single consumer thread safe queue to manage this.
Implements Chaos::ISimCallbackObject.
|
inline |
Get a stat name to describe this callback in external profiling and STATS when Named events are enabled
Reimplemented from Chaos::ISimCallbackObject.
|
inline |
|
inline |
|
friend |