Navigation
API > API/Developer > API/Developer/AnimationDataController
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAnimDataController
References
| Module | AnimationDataController |
| Header | /Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h |
| Include | #include "AnimDataController.h" |
Syntax
class UAnimDataController :
public UObject,
public IAnimationDataController
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from IAnimationDataController
| Type | Name | Description | |
|---|---|---|---|
| bool | AddAttribute
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Adds a new attribute with the provided information. | |
| bool | AddBoneCurve
(
FName BoneName, |
||
| bool | AddCurve
(
const FAnimationCurveIdentifier& CurveId, |
Adds a new curve with the provided information. | |
| void | CloseBracket
(
bool bShouldTransact |
Closes a previously opened interaction bracket, used for combining a set of controller actions. | |
| bool | DuplicateAttribute
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Duplicated the attribute (curve) with the identifier. | |
| bool | DuplicateCurve
(
const FAnimationCurveIdentifier& CopyCurveId, |
Duplicated the curve with the identifier. | |
| const IAnimationDataModel *const | GetModel () |
||
| TScriptInterface< IAnimationDataModel > | |||
| void | Initializes model data structures | ||
| void | |||
| void | Functionality used by FOpenBracketAction and FCloseBracketAction to broadcast their equivalent notifies without actually opening a bracket. | ||
| void | Broadcast a EAnimDataModelNotifyType::Populated notify. | ||
| void | OpenBracket
(
const FText& InTitle, |
Opens an interaction bracket, used for combining a set of controller actions. | |
| void | PopulateWithExistingModel
(
TScriptInterface< IAnimationDataModel > InModel |
Copies any animation relevant data from an already existing IAnimationDataModel object | |
| int32 | RemoveAllAttributes
(
bool bShouldTransact |
Removes all stored attributes. | |
| int32 | RemoveAllAttributesForBone
(
const FName& BoneName, |
Removes all attributes for the specified bone name, if any. | |
| void | RemoveAllBoneTracks
(
bool bShouldTransact |
Removes all existing Bone Animation tracks. | |
| void | RemoveAllCurvesOfType
(
ERawCurveTrackTypes SupportedCurveType, |
Removes all the curves of the provided type. | |
| bool | RemoveAttribute
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Removes an attribute, if found, with the provided information. | |
| bool | RemoveAttributeKey
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Remove a single key from the attribute with provided identifier. | |
| bool | RemoveBoneTrack
(
FName BoneName, |
Removes an existing bone animation track with the provided name. | |
| bool | RemoveBoneTracksMissingFromSkeleton
(
const USkeleton* Skeleton, |
Removes any bone track for which the name was not found in the provided skeleton. | |
| bool | RemoveCurve
(
const FAnimationCurveIdentifier& CurveId, |
Remove the curve with provided identifier. | |
| bool | RemoveCurveKey
(
const FAnimationCurveIdentifier& CurveId, |
Remove a single key from the curve with provided identifier and name. | |
| bool | RemoveTransformCurveKey
(
const FAnimationCurveIdentifier& CurveId, |
Removes a single key for the transform curve with provided identifier. | |
| bool | RenameCurve
(
const FAnimationCurveIdentifier& CurveToRenameId, |
Renames the curve with provided identifier. | |
| void | ResetModel
(
bool bShouldTransact |
Resets all data stored in the model, broadcasts a EAnimDataModelNotifyType::Reset and wraps all actions within BracketOpened/BracketClosed notifies. | |
| void | ResizeInFrames
(
FFrameNumber NewLengthInFrames, |
Sets the total play-able length in seconds and resizes curves. | |
| void | ResizeNumberOfFrames
(
FFrameNumber NewLength, |
||
| bool | ScaleCurve
(
const FAnimationCurveIdentifier& CurveId, |
Scales the curve with provided identifier. | |
| bool | SetAttributeKey
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Sets a single key for the attribute with provided identifier. | |
| bool | SetAttributeKeys
(
const FAnimationAttributeIdentifier& AttributeIdentifier, |
Replace the keys for the attribute with provided identifier. | |
| bool | SetBoneTrackKeys
(
FName BoneName, |
Removes an existing bone animation track with the provided name. | |
| bool | SetBoneTrackKeys
(
FName BoneName, |
Removes an existing bone animation track with the provided name. | |
| bool | SetCurveAttributes
(
const FAnimationCurveIdentifier& CurveId, |
Changes the attributes of the curve with provided identifier. | |
| bool | SetCurveColor
(
const FAnimationCurveIdentifier& CurveId, |
Changes the color of the curve with provided identifier. | |
| bool | SetCurveFlag
(
const FAnimationCurveIdentifier& CurveId, |
Set an individual flag for the curve with provided identifier. | |
| bool | SetCurveFlags
(
const FAnimationCurveIdentifier& CurveId, |
Replace the flags for the curve with provided identifier. | |
| bool | SetCurveKey
(
const FAnimationCurveIdentifier& CurveId, |
Sets a single key for the curve with provided identifier and name. | |
| bool | SetCurveKeys
(
const FAnimationCurveIdentifier& CurveId, |
Replace the keys for the curve with provided identifier and name. | |
| void | SetFrameRate
(
FFrameRate FrameRate, |
Sets the frame rate according to which the bone animation is expected to be sampled. | |
| void | SetModel
(
TScriptInterface< IAnimationDataModel > InModel |
Begin IAnimationDataController overrides | |
| void | SetNumberOfFrames
(
FFrameNumber NewLengthInFrames, |
Sets the total play-able length in seconds. | |
| bool | SetTransformCurveKey
(
const FAnimationCurveIdentifier& CurveId, |
Sets a single key for the transform curve with provided identifier. | |
| bool | SetTransformCurveKeys
(
const FAnimationCurveIdentifier& CurveId, |
Replace the keys for the transform curve with provided identifier. | |
| void | UpdateAttributesFromSkeleton
(
const USkeleton* Skeleton, |
Removes any bone attribute for which the name was not found in the provided skeleton. | |
| bool | UpdateBoneTrackKeys
(
FName BoneName, |
Sets a range of keys for an existing bone animation track with the provided name. | |
| bool | UpdateBoneTrackKeys
(
FName BoneName, |
Sets a range of keys for an existing bone animation track with the provided name. | |
| void | UpdateWithSkeleton
(
USkeleton* TargetSkeleton, |
Updates/removes/remaps contained animation data according to the newly assigned skeleton |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | InsertBoneTrack
(
FName BoneName, |
InsertBoneTrack has been deprecated, use AddBoneTrack instead | |
| void | Resize
(
float Length, |
Resize with length in seconds in deprecated use ResizeInFrames using FFrameNumber instead | |
| void | ResizePlayLength
(
float NewLength, |
ResizePlayLength with length in seconds in deprecated use ResizeNumberOfFrames using FFrameNumber instead | |
| void | SetPlayLength
(
float Length, |
SetPlayLength with length in seconds in deprecated use SetNumberOfFrames using FFrameNumber instead |