Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TTransform
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/TransformNonVectorized.h |
| Include | #include "Math/TransformNonVectorized.h" |
void LerpTranslationScale3D
&40;
const TTransform< T > & SourceAtom1,
const TTransform< T > & SourceAtom2,
float Alpha
&41;
Remarks
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)
Parameters
| Name | Description |
|---|---|
| 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 |