Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMotionVectorSimulation
Description
- Assign a simulated previous frame transform for the specified object. Overwrites any existing simulated transform.
-
Previous simulated transforms are only valid for the frame on which they were added, and are removed on the next frame
| Name | SetPreviousTransform |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/MotionVectorSimulation.h |
| Include Path | #include "Rendering/MotionVectorSimulation.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/MotionVectorSimulation.cpp |
void SetPreviousTransform
(
UObject * Object,
const FTransform & SimulatedPreviousTransform
)
Parameters
| Name | Remarks |
|---|---|
| Object | The Object to assign the previous transform to |
| SimulatedPreviousTransform | The simulated transform that this component had on the last frame |