Navigation
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 SetCurveFlag ( const [FAnimationCurveIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationCurveIdentifier) & CurveId, EAnimAssetCurveFlags Flag, bool bState, bool bShouldTransact )
Remarks
Set an individual flag for the curve with provided identifier. Broadcasts a EAnimDataModelNotifyType::CurveFlagsChanged notify if successful. Whether or not the flag state was successfully set
Parameters
Name | Description |
---|---|
CurveId | Identifier for the curve for which the flag state is to be set |
Flag | Flag for which the state is supposed to be set |
bState | State of the flag to be, true=set/false=not set |
bShouldTransact | Whether or not any undo-redo changes should be generated |