Navigation
API > API/Runtime > API/Runtime/Engine
| Name | IAnimationDataController |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include Path | #include "Animation/AnimData/IAnimationDataController.h" |
Syntax
class IAnimationDataController
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FScopedBracket | RAII helper to define a scoped-based bracket, opens and closes a controller bracket automatically |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FBracket | TUniquePtr< IAnimationDataController::FScopedBracket > | Animation/AnimData/IAnimationDataController.h | |
| FTransaction | TUniquePtr< UE::FScopedCompoundTransaction > | Animation/AnimData/IAnimationDataController.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultCurveFlags | int32 | Animation/AnimData/IAnimationDataController.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddAttribute
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Adds a new attribute with the provided information. | Animation/AnimData/IAnimationDataController.h |
|
bool AddBoneCurve
(
FName BoneName, |
Animation/AnimData/IAnimationDataController.h |
|
|
virtual int32 AddBoneTrack
(
FName BoneName, |
Adds a new bone animation track for the provided name. | Animation/AnimData/IAnimationDataController.h |
|
bool AddCurve
(
const FAnimationCurveIdentifier& CurveId, |
Adds a new curve with the provided information. | Animation/AnimData/IAnimationDataController.h |
|
void CloseBracket
(
bool bShouldTransact |
Closes a previously opened interaction bracket, used for combining a set of controller actions. | Animation/AnimData/IAnimationDataController.h |
|
FFrameNumber ConvertSecondsToFrameNumber
(
double Seconds |
Returns the final frame number calculating according to the Model its frame-rate, additionally outputs log information for invalid/loss of precision | Animation/AnimData/IAnimationDataController.h | |
bool DuplicateAttribute
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Duplicated the attribute (curve) with the identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool DuplicateCurve
(
const FAnimationCurveIdentifier& CopyCurveId, |
Duplicated the curve with the identifier. | Animation/AnimData/IAnimationDataController.h |
|
virtual void FindOrAddCurveNamesOnSkeleton
(
USkeleton* Skeleton, |
Updates the curve names with the provided skeleton, if a display name is not found it will be added thus modifying the skeleton. | Animation/AnimData/IAnimationDataController.h |
|
const IAnimationDataModel *const GetModel() |
Animation/AnimData/IAnimationDataController.h | ||
TScriptInterface< IAnimationDataModel > GetModelInterface() |
Animation/AnimData/IAnimationDataController.h |
|
|
void InitializeModel() |
Initializes model data structures | Animation/AnimData/IAnimationDataController.h | |
int32 InsertBoneTrack
(
FName BoneName, |
Inserts a new bone animation track for the provided name, at the provided index. | Animation/AnimData/IAnimationDataController.h |
|
void NotifyPopulated() |
Broadcast a EAnimDataModelNotifyType::Populated notify. | Animation/AnimData/IAnimationDataController.h | |
void OpenBracket
(
const FText& InTitle, |
Opens an interaction bracket, used for combining a set of controller actions. | Animation/AnimData/IAnimationDataController.h |
|
void PopulateWithExistingModel
(
TScriptInterface< IAnimationDataModel > InModel |
Copies any animation relevant data from an already existing IAnimationDataModel object | Animation/AnimData/IAnimationDataController.h | |
int32 RemoveAllAttributes
(
bool bShouldTransact |
Removes all stored attributes. | Animation/AnimData/IAnimationDataController.h |
|
int32 RemoveAllAttributesForBone
(
const FName& BoneName, |
Removes all attributes for the specified bone name, if any. | Animation/AnimData/IAnimationDataController.h |
|
void RemoveAllBoneTracks
(
bool bShouldTransact |
Removes all existing Bone Animation tracks. | Animation/AnimData/IAnimationDataController.h |
|
void RemoveAllCurvesOfType
(
ERawCurveTrackTypes SupportedCurveType, |
Removes all the curves of the provided type. | Animation/AnimData/IAnimationDataController.h |
|
bool RemoveAttribute
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Removes an attribute, if found, with the provided information. | Animation/AnimData/IAnimationDataController.h |
|
bool RemoveAttributeKey
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Remove a single key from the attribute with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool RemoveBoneTrack
(
FName BoneName, |
Removes an existing bone animation track with the provided name. | Animation/AnimData/IAnimationDataController.h |
|
bool RemoveBoneTracksMissingFromSkeleton
(
const USkeleton* Skeleton, |
Removes any bone track for which the name was not found in the provided skeleton. | Animation/AnimData/IAnimationDataController.h | |
bool RemoveCurve
(
const FAnimationCurveIdentifier& CurveId, |
Remove the curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool RemoveCurveKey
(
const FAnimationCurveIdentifier& CurveId, |
Remove a single key from the curve with provided identifier and name. | Animation/AnimData/IAnimationDataController.h |
|
bool RemoveTransformCurveKey
(
const FAnimationCurveIdentifier& CurveId, |
Removes a single key for the transform curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool RenameCurve
(
const FAnimationCurveIdentifier& CurveToRenameId, |
Renames the curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
void ResetModel
(
bool bShouldTransact |
Resets all data stored in the model, broadcasts a EAnimDataModelNotifyType::Reset and wraps all actions within BracketOpened/BracketClosed notifies. | Animation/AnimData/IAnimationDataController.h | |
void Resize
(
float Length, |
Animation/AnimData/IAnimationDataController.h |
|
|
void ResizeInFrames
(
FFrameNumber NewLengthInFrames, |
Sets the total play-able length in seconds and resizes curves. | Animation/AnimData/IAnimationDataController.h |
|
void ResizeNumberOfFrames
(
FFrameNumber NewLengthInFrames, |
Animation/AnimData/IAnimationDataController.h |
|
|
void ResizePlayLength
(
float NewLength, |
Animation/AnimData/IAnimationDataController.h |
|
|
bool ScaleCurve
(
const FAnimationCurveIdentifier& CurveId, |
Scales the curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool SetAttributeKey
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Sets a single key for the attribute with provided identifier. | Animation/AnimData/IAnimationDataController.h | |
bool SetAttributeKeys
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Replace the keys for the attribute with provided identifier. | Animation/AnimData/IAnimationDataController.h | |
bool SetBoneTrackKeys
(
FName BoneName, |
Removes an existing bone animation track with the provided name. | Animation/AnimData/IAnimationDataController.h |
|
bool SetBoneTrackKeys
(
FName BoneName, |
Removes an existing bone animation track with the provided name. | Animation/AnimData/IAnimationDataController.h | |
bool SetCurveAttributes
(
const FAnimationCurveIdentifier& CurveId, |
Changes the attributes of the curve with provided identifier. | Animation/AnimData/IAnimationDataController.h | |
bool SetCurveColor
(
const FAnimationCurveIdentifier& CurveId, |
Changes the color of the curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool SetCurveComment
(
const FAnimationCurveIdentifier& CurveId, |
Changes the comment of the curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool SetCurveFlag
(
const FAnimationCurveIdentifier& CurveId, |
Set an individual flag for the curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool SetCurveFlags
(
const FAnimationCurveIdentifier& CurveId, |
Replace the flags for the curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool SetCurveKey
(
const FAnimationCurveIdentifier& CurveId, |
Sets a single key for the curve with provided identifier and name. | Animation/AnimData/IAnimationDataController.h |
|
bool SetCurveKeys
(
const FAnimationCurveIdentifier& CurveId, |
Replace the keys for the curve with provided identifier and name. | Animation/AnimData/IAnimationDataController.h |
|
void SetFrameRate
(
FFrameRate FrameRate, |
Sets the frame rate according to which the bone animation is expected to be sampled. | Animation/AnimData/IAnimationDataController.h |
|
void SetModel
(
TScriptInterface< IAnimationDataModel > InModel |
Sets the AnimDataModel instance this controller is supposed to be targeting | Animation/AnimData/IAnimationDataController.h |
|
void SetNumberOfFrames
(
FFrameNumber NewLengthInFrames, |
Sets the total play-able length in seconds. | Animation/AnimData/IAnimationDataController.h |
|
void SetPlayLength
(
float Length, |
Animation/AnimData/IAnimationDataController.h |
|
|
bool SetTransformCurveKey
(
const FAnimationCurveIdentifier& CurveId, |
Sets a single key for the transform curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool SetTransformCurveKeys
(
const FAnimationCurveIdentifier& CurveId, |
Replace the keys for the transform curve with provided identifier. | Animation/AnimData/IAnimationDataController.h |
|
bool SetTypedAttributeKey
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Sets a single key for the attribute with provided identifier. | Animation/AnimData/IAnimationDataController.h | |
bool SetTypedAttributeKeys
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Replace the keys for the attribute with provided identifier. | Animation/AnimData/IAnimationDataController.h | |
void UpdateAttributesFromSkeleton
(
const USkeleton* Skeleton, |
Removes any bone attribute for which the name was not found in the provided skeleton. | Animation/AnimData/IAnimationDataController.h | |
bool UpdateBoneTrackKeys
(
FName BoneName, |
Sets a range of keys for an existing bone animation track with the provided name. | Animation/AnimData/IAnimationDataController.h | |
bool UpdateBoneTrackKeys
(
FName BoneName, |
Sets a range of keys for an existing bone animation track with the provided name. | Animation/AnimData/IAnimationDataController.h | |
virtual void UpdateCurveNamesFromSkeleton
(
const USkeleton* Skeleton, |
Updates the display name values for any stored curve, with the names being retrieved from the provided skeleton. | Animation/AnimData/IAnimationDataController.h |
|
void UpdateWithSkeleton
(
USkeleton* TargetSkeleton, |
Updates/removes/remaps contained animation data according to the newly assigned skeleton | Animation/AnimData/IAnimationDataController.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CheckOuterClass
(
UClass* InClass |
Verifies whether or not the Model's outer object is (or is derived from) the specified UClass | Animation/AnimData/IAnimationDataController.h | |
void ConditionalAction
(
bool bCondition, |
Animation/AnimData/IAnimationDataController.h | ||
FBracket ConditionalBracket
(
const FText& Description, |
Animation/AnimData/IAnimationDataController.h | ||
FTransaction ConditionalTransaction
(
const FText& Description, |
Animation/AnimData/IAnimationDataController.h | ||
void NotifyBracketClosed() |
Animation/AnimData/IAnimationDataController.h | ||
void NotifyBracketOpen() |
Functionality used by FOpenBracketAction and FCloseBracketAction to broadcast their equivalent notifies without actually opening a bracket. | Animation/AnimData/IAnimationDataController.h | |
void Report
(
ELogVerbosity::Type Verbosity, |
Animation/AnimData/IAnimationDataController.h | ||
void ReportError
(
const FText& Message |
Animation/AnimData/IAnimationDataController.h | ||
void ReportErrorf
(
const FmtType& Fmt, |
Animation/AnimData/IAnimationDataController.h | ||
void Reportf
(
ELogVerbosity::Type Verbosity, |
Animation/AnimData/IAnimationDataController.h | ||
void ReportWarning
(
const FText& Message |
Animation/AnimData/IAnimationDataController.h | ||
void ReportWarningf
(
const FmtType& Fmt, |
Animation/AnimData/IAnimationDataController.h | ||
void ValidateModel() |
Ensures that a valid model is currently targeted | Animation/AnimData/IAnimationDataController.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetCurveTypeValueName
(
ERawCurveTrackTypes InType |
Returns the string representation of the provided curve enum type value | Animation/AnimData/IAnimationDataController.h | |
static bool IsSupportedCurveType
(
ERawCurveTrackTypes CurveType |
Returns whether or not the supplied curve type is supported by the controller functionality | Animation/AnimData/IAnimationDataController.h | |
static void Reportf
(
ELogVerbosity::Type LogVerbosity, |
Animation/AnimData/IAnimationDataController.h | ||
static void ReportMessage
(
const UObject* ErrorObject, |
Animation/AnimData/IAnimationDataController.h | ||
static void ReportObjectErrorf
(
const UObject* ErrorObject, |
Animation/AnimData/IAnimationDataController.h | ||
static void ReportObjectWarningf
(
const UObject* ErrorObject, |
Animation/AnimData/IAnimationDataController.h |