Navigation
Unreal Engine C++ API Reference > Developer > AnimationDataController > UAnimDataController
References
|
|
Module |
AnimationDataController |
Header |
/Engine/Source/Developer/AnimationDataController/Public/AnimDataController.h |
Include |
#include "AnimDataController.h" |
| virtual bool SetAttributeKeys |
| ( |
| const [FAnimationAttributeIdentifier](API\Runtime\Engine\Animation\AnimData\FAnimationAttributeIdentifier) & AttributeIdentifier, |
| [TArrayView](API\Runtime\Core\Containers\TArrayView)< const float > Times, |
| [TArrayView](API\Runtime\Core\Containers\TArrayView)< const void * > KeyValues, |
| const [UScriptStruct](API\Runtime\CoreUObject\UObject\UScriptStruct) * TypeStruct, |
| bool bShouldTransact |
| ) |
| |
Replace the keys for the attribute with provided identifier. Broadcasts a EAnimDataModelNotifyType::AttributeChanged notify if successful.
Whether or not replacing the attribute keys was successful
Parameters
Name |
Description |
AttributeIdentifier |
Identifier for the attribute for which the keys are to be replaced |
Times |
Times with which the existing key timings are to be replaced |
KeyValues |
Values with which the existing key values are to be replaced |
TypeStruct |
UScriptStruct describing the type of KeyValues |
bShouldTransact |
Whether or not any undo-redo changes should be generated |