Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController
- IAnimationDataController::SetCurveFlag()
- UAnimDataController::SetCurveFlag()
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
&40;
const FAnimationCurveIdentifier & CurveId,
EAnimAssetCurveFlags Flag,
bool bState,
bool bShouldTransact
&41;
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 |