Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/TransformNonVectorized.h |
Include |
#include "Math/TransformNonVectorized.h" |
void Accumulate
(
const FTransform & Atom,
float BlendWeight
)
Accumulates another transform with this one, with a blending weight
Let SourceAtom = Atom * BlendWeight Rotation is accumulated multiplicatively (Rotation = SourceAtom.Rotation * Rotation). Translation is accumulated additively (Translation += SourceAtom.Translation) Scale3D is accumulated multiplicatively (Scale3D *= SourceAtom.Scale3D)
Rotation will not be normalized! Will have to be done manually.
Parameter |
Description |
---|---|
Atom |
The other transform to accumulate into this one |
BlendWeight |
The weight to multiply Atom by before it is accumulated. |