UAnimDataController::DuplicateCurve

Duplicated the curve with the identifier.

Unreal Engine C++ API Reference > Developer > AnimationDataController > UAnimDataController

References

   
Module AnimationDataController
Header /Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h
Include #include "AnimDataController.h"
Source /Engine/Source/Developer/AnimationDataController/Private/AnimDataController.cpp
virtual bool DuplicateCurve
(
    const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CopyCurveId,
    const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & NewCurveId,
    bool bShouldTransact
)

Remarks

Duplicated the curve with the identifier. Broadcasts a EAnimDataModelNotifyType::CurveAdded notify if successful. Whether or not the curve was successfully duplicated

Parameters

Name Description
CopyCurveId Identifier for the to-be-duplicated curve
NewCurveId Identifier for the to-be-added curve
bShouldTransact Whether or not any undo-redo changes should be generated

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library