TTransform::LerpTranslationScale3D

Set the translation and Scale3D components of this transform to a linearly interpolated combination of two other transforms

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/TransformNonVectorized.h

Include

#include "Math/TransformNonVectorized.h"

Syntax

void LerpTranslationScale3D
(
    const TTransform< T > & SourceAtom1,
    const TTransform< T > & SourceAtom2,
    float Alpha
)

Remarks

Set the translation and Scale3D components of this transform to a linearly interpolated combination of two other transforms

Translation = FMath::Lerp Scale3D = FMath::Lerp

Parameters

Parameter

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