FTransform::AccumulateWithShortestRotation

Accumulates another transform with this one, with an optional blending weight

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/TransformNonVectorized.h"

Syntax

void AccumulateWithShortestRotation
(
    const FTransform & DeltaAtom,
    float BlendWeight
)

Remarks

Accumulates another transform with this one, with an optional blending weight

Rotation is accumulated additively, in the shortest direction (Rotation = Rotation +/- DeltaAtom.Rotation * Weight) Translation is accumulated additively (Translation += DeltaAtom.Translation * Weight) Scale3D is accumulated additively (Scale3D += DeltaAtom.Scale3D * Weight)

Parameters

Parameter

Description

DeltaAtom

The other transform to accumulate into this one

Weight

The weight to multiply DeltaAtom by before it is accumulated.

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