FTransform::LerpTranslationScale3D

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

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/TransformNonVectorized.h"

Syntax

void LerpTranslationScale3D
(
    const FTransform & SourceAtom1,
    const FTransform & 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

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