Navigation
API > API/Developer > API/Developer/AnimationDataController > API/Developer/AnimationDataController/UAnimDataController
- IAnimationDataController::ResetModel()
- UAnimDataController::ResetModel()
References
| Module | AnimationDataController |
| Header | /Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h |
| Include | #include "AnimDataController.h" |
| Source | /Engine/Source/Developer/AnimationDataController/Private/AnimDataController.cpp |
virtual void ResetModel
&40;
bool bShouldTransact
&41;
Remarks
Resets all data stored in the model, broadcasts a EAnimDataModelNotifyType::Reset and wraps all actions within BracketOpened/BracketClosed notifies.
- Bone tracks, broadcasts a EAnimDataModelNotifyType::TrackRemoved for each
- Curves, broadcasts a EAnimDataModelNotifyType::CurveRemoves for each
- Play length to one frame at 30fps, broadcasts a EAnimDataModelNotifyType::PlayLengthChanged
- Frame rate to 30fps, broadcasts a EAnimDataModelNotifyType::FrameRateChanged
Parameters
| Name | Description |
|---|---|
| bShouldTransact | Whether or not any undo-redo changes should be generated |