UAnimDataController::SetTransformCurveKeys

Replace the keys for the transform curve with provided 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 SetTransformCurveKeys
(
    const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CurveId,
    const [TArray](API\Runtime\Core\Containers\TArray)< FTransform > & TransformValues,
    const [TArray](API\Runtime\Core\Containers\TArray)< float > & TimeKeys,
    bool bShouldTransact
)

Remarks

Replace the keys for the transform curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveChanged notify if successful. Whether or not the transform curve keys were successfully set

Parameters

Name Description
CurveId Identifier for the transform curve for which the keys are to be set
TransformValues Transform Values with which the existing values are to be replaced
TimeKeys Time Keys with which the existing keys are to be replaced
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