Navigation
API > API/Plugins > API/Plugins/AnimDatabase > API/Plugins/AnimDatabase/UAnimDatabaseFrameAttributeLibra-
Description
General function for computing bone transforms in the local space. Outputs frame attributes based on the bone indices passed in. This is the most efficient way of computing multiple local bone transform attributes as it combines all required bone indices into one large array, evaluates the pose data in the animation sequences once extracting information for these bones.
Given that evaluating the animation data for a whole animation database can be relatively slow it is encouraged to use this function wherever possible rather than the more convenient individual functions for computing bone transform attributes.
| Name | MakeBoneLocalTransformFrameAttributes |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Animation/AnimDatabase/Source/AnimDatabase/Public/AnimDatabaseFrameAttribute.h |
| Include Path | #include "AnimDatabaseFrameAttribute.h" |
| Source | /Engine/Plugins/Experimental/Animation/AnimDatabase/Source/AnimDatabase/Private/AnimDatabaseFrameAttribute.cpp |
UFUNCTION (BlueprintPure=false, Category="AnimDatabase",
Meta=(NotBlueprintThreadSafe, AutoCreateRefTerm="BoneIndices"))
static void MakeBoneLocalTransformFrameAttributes
(
TArray < FAnimDatabaseFrameAttribute > & OutTransformFrameAttributes,
const UAnimDatabase * Database,
const FAnimDatabaseFrameRanges & FrameRanges,
const TArray < int32 > & BoneIndices,
const float RelativeTime
)