Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IAnimationDataController
Description
Replace the flags for the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveFlagsChanged notify if successful.
| Name | SetCurveFlags |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include Path | #include "Animation/AnimData/IAnimationDataController.h" |
UFUNCTION (BlueprintCallable, Category=CurveData)
bool SetCurveFlags
(
const FAnimationCurveIdentifier & CurveId,
int32 Flags,
bool bShouldTransact
)
Whether or not the flag mask was successfully set
Parameters
| Name | Remarks |
|---|---|
| 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 |