UAnimDataController::AddAttribute

Adds a new attribute with the provided information.

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 bool AddAttribute
(
    const [FAnimationAttributeIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationAttributeIdentifier) & AttributeIdentifier,
    bool bShouldTransact
)

Remarks

Adds a new attribute with the provided information. Broadcasts a EAnimDataModelNotifyType::AttributeAdded notify if successful. Whether or not the attribute was successfully added

Parameters

Name Description
AttributeIdentifier Identifier for the to-be-added attribute
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