FInertializationPoseDiff::InitFrom

Initialize the pose difference from the current pose and the two previous snapshots

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimNode_Inertialization.h

Include

#include "Animation/AnimNode_Inertialization.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimNode_Inertialization.cpp

Syntax

void InitFrom
(
    const FCompactPose & Pose,
    const FBlendedCurve & Curves,
    const FTransform & ComponentTransform,
    const FName & AttachParentName,
    const FInertializationPose & Prev1,
    const FInertializationPose & Prev2,
    const TSet< SmartName::UID_Type > & FilteredCurvesUIDs
)

Remarks

Initialize the pose difference from the current pose and the two previous snapshots

Pose the current frame's pose ComponentTransform the current frame's component to world transform AttachParentName the current frame's attach parent name (for checking if the attachment has changed) Prev1 the previous frame's pose Prev2 the pose from two frames before FilteredCurvesUIDs list of curves we don't want to inertialize