Navigation
Unreal Engine C++ API Reference > Developer > AnimationDataController > UAnimDataController > SetBoneTrackKeys
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 SetBoneTrackKeys ( [FName](API\Runtime\Core\UObject\FName) BoneName, const [TArray](API\Runtime\Core\Containers\TArray)< FVector3f > & PositionalKeys, const [TArray](API\Runtime\Core\Containers\TArray)< FQuat4f > & RotationalKeys, const [TArray](API\Runtime\Core\Containers\TArray)< FVector3f > & ScalingKeys, bool bShouldTransact )
Remarks
Removes an existing bone animation track with the provided name. Broadcasts a EAnimDataModelNotifyType::TrackChanged notify if successful. The provided number of keys provided is expected to match for each component, and be non-zero. Whether or not the keys were successfully set
Parameters
Name | Description |
---|---|
BoneName | Bone name of the track for which the keys should be set |
PositionalKeys | Array of keys for the translation component |
RotationalKeys | Array of keys for the rotation component |
ScalingKeys | Array of keys for the scale component |
bShouldTransact | Whether or not any undo-redo changes should be generated |