TTransform::AccumulateWithShortestRotation

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

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 AccumulateWithShortestRotation
(
    const TTransform< T > & DeltaAtom,
    FReal 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.