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 |
bool GetPreviousTransform
&40;
USceneComponent &42; Component,
FTransform &42; OutTransform
&41; const
Remarks
- Check if the specified scene component has a simulated transform, setting the specified transform if so.
-
Previous simulated transforms are only valid for the frame on which they were added, and are removed on the next frame True if OutTransform was overwritten with a valid transform, false otherwise.
Parameters
Name | Description |
---|---|
Component | The Component to retrieve a previous transform for |
OutTransform | A valid (non-null) pointer to a transform to receive the simulated transform if possible. |