Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Rendering > FMotionVectorSimulation > GetPreviousTransform
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 |
TOptional< FTransform > GetPreviousTransform
&40;
USceneComponent &42; Component
&41; const
Remarks
- Check if the specified scene component has a simulated transform and return the result as an optional transform.
-
Previous simulated transforms are only valid for the frame on which they were added, and are removed on the next frame An optional transform that is set if the specified component has a previous simulated transform, otherwise an empty optional.
Parameters
Name | Description |
---|---|
Component | The Component to retrieve a previous transform for |