Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TTransform
Description
Set the translation and Scale3D components of this transform to a linearly interpolated combination of two other transforms
Translation = FMath::Lerp(SourceAtom1.Translation, SourceAtom2.Translation, Alpha) Scale3D = FMath::Lerp(SourceAtom1.Scale3D, SourceAtom2.Scale3D, Alpha)
| Name | LerpTranslationScale3D |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/TransformNonVectorized.h |
| Include Path | #include "Math/TransformNonVectorized.h" |
void LerpTranslationScale3D
(
const TTransform < T > & SourceAtom1,
const TTransform < T > & SourceAtom2,
float Alpha
)
Parameters
| Name | Remarks |
|---|---|
| SourceAtom1 | The starting point source atom (used 100% if Alpha is 0) |
| SourceAtom2 | The ending point source atom (used 100% if Alpha is 1) |
| Alpha | The blending weight between SourceAtom1 and SourceAtom2 |