Navigation
API > API/Editor > API/Editor/CurveEditor > API/Editor/CurveEditor/FCurveModel
Description
Starts a scope of related changes.
The curve model will receive a matching OnCloseRootChangeScope call when the scope ends. The curve model implementation should use this to defer any post-change type of delegates until OnCloseRootChangeScope is invoked.
The primary use case is recording changes using FScopedCurveChange. Do not call Modify() on the FCurveObject::GetOwningObject(). In the future, this may be extended so the curve model can append internal FChange commands as well, which are to be ordered correctly with the changes made to the curve model. An example may be that SetKeyPositions should cause a call to UMovieSceneSection::ExpandToFrame.
| Name | OnOpenRootChangeScope |
| Type | function |
| Header File | /Engine/Source/Editor/CurveEditor/Public/CurveModel.h |
| Include Path | #include "CurveModel.h" |
virtual void OnOpenRootChangeScope()
See Also
- FScopedCurveChange "Interaction with Modify()-based undo" section