UAnimDataController::SetCurveFlags

Replace the flags for the 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 SetCurveFlags
(
    const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CurveId,
    int32 Flags,
    bool bShouldTransact
)

Remarks

Replace the flags for the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveFlagsChanged notify if successful. Whether or not the flag mask was successfully set

Parameters

Name Description
CurveId Identifier for the curve for which the flag state is to be set
Flags Flag mask with which the existing flags 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