FMotionVectorSimulation::GetPreviousTransform

Check if the specified scene component has a simulated transform, setting the specified transform if so.

Windows
MacOS
Linux

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

Syntax

bool GetPreviousTransform
(
    USceneComponent * Component,
    FTransform * OutTransform
) const

Remarks

Check if the specified scene component has a simulated transform, setting the specified transform if so. @note Previous simulated transforms are only valid for the frame on which they were added, and are removed on the next frame

Returns

True if OutTransform was overwritten with a valid transform, false otherwise.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss