UAnimDataController::ResetModel

Resets all data stored in the model, broadcasts a EAnimDataModelNotifyType::Reset and wraps all actions within BracketOpened/BracketClosed notifies.

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 void ResetModel
(
    bool bShouldTransact
)

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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library