Navigation
API > API/Plugins > API/Plugins/AnimDatabase > API/Plugins/AnimDatabase/UAnimDatabaseFrameAttributeLibra-
Description
General function for computing bone transforms in the world space. Outputs frame attributes based on the bone names passed in. This is the most efficient way of computing multiple global bone transform attributes as it combines all required bone names into one large array, evaluates the pose data in the animation sequences once extracting information for these bones, and then performs just the subset of forward kinematics required to extract the desired properties.
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 | MakeBoneGlobalTransformFrameAttributesFromNames |
| 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, AdvancedDisplay=4, AutoCreateRefTerm="BoneNames"))
static void MakeBoneGlobalTransformFrameAttributesFromNames
(
TArray < FAnimDatabaseFrameAttribute > & OutTransformFrameAttributes,
const UAnimDatabase * Database,
const FAnimDatabaseFrameRanges & FrameRanges,
const TArray < FName > & BoneNames,
const float RelativeTime
)