Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Rendering > FMotionVectorSimulation
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Rendering/MotionVectorSimulation.h |
Include | #include "Rendering/MotionVectorSimulation.h" |
Source | /Engine/Source/Runtime/Engine/Private/Rendering/MotionVectorSimulation.cpp |
void SetPreviousTransform
&40;
USceneComponent &42; Component,
const FTransform & SimulatedPreviousTransform
&41;
Remarks
- Assign a simulated previous frame transform for the specified component. 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
Parameters
Name | Description |
---|---|
Component | The Component to assign the previous transform to |
SimulatedPreviousTransform | The simulated transform that this component had on the last frame |