Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/AnimData > API/Runtime/Engine/Animation/AnimData/IAnimationDataController > API/Runtime/Engine/Animation/AnimData/IAnimationDataController/SetBoneTrackKeys
- IAnimationDataController::SetBoneTrackKeys()
- UAnimDataController::SetBoneTrackKeys()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h |
| Include | #include "Animation/AnimData/IAnimationDataController.h" |
bool SetBoneTrackKeys
&40;
FName BoneName,
const TArray< FVector3f > & PositionalKeys,
const TArray< FQuat4f > & RotationalKeys,
const TArray< FVector3f > & ScalingKeys,
bool bShouldTransact
&41;
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 |