Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
A library of the most common animation blueprint functions.
| Name | UKismetAnimationLibrary |
| Type | class |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/KismetAnimationLibrary.h |
| Include Path | #include "KismetAnimationLibrary.h" |
Syntax
UCLASS (Meta=(ScriptName="AnimGraphLibrary", BlueprintThreadSafe, DocumentationPolicy="Strict"),
MinimalAPI)
class UKismetAnimationLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UKismetAnimationLibrary
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UKismetAnimationLibrary
(
const FObjectInitializer& ObjectInitializer |
KismetAnimationLibrary.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float CalculateDirection
(
const FVector& Velocity, |
Returns degree of the angle between Velocity and Rotation forward vector The range of return will be from [-180, 180]. | KismetAnimationLibrary.h |
|
static float K2_CalculateVelocityFromPositionHistory
(
float DeltaSeconds, |
This function calculates the velocity of a position changing over time. | KismetAnimationLibrary.h |
|
static float K2_CalculateVelocityFromSockets
(
float DeltaSeconds, |
This function calculates the velocity of an offset position on a bone / socket over time. | KismetAnimationLibrary.h |
|
static FVector K2_DirectionBetweenSockets
(
const USkeletalMeshComponent* Component, |
Computes the direction between two bones / sockets. | KismetAnimationLibrary.h |
|
static float K2_DistanceBetweenTwoSocketsAndMapRange
(
const USkeletalMeshComponent* Component, |
Computes the distance between two bones / sockets and can remap the range. | KismetAnimationLibrary.h |
|
static float K2_EndProfilingTimer
(
bool bLog, |
This function ends measuring a profiling bracket and optionally logs the result | KismetAnimationLibrary.h |
|
static FTransform K2_LookAt
(
const FTransform& CurrentTransform, |
Computes the transform which is "looking" at target position with a local axis. | KismetAnimationLibrary.h |
|
static float K2_MakePerlinNoiseAndRemap
(
float Value, |
This function creates perlin noise for a single float and then range map to RangeOut | KismetAnimationLibrary.h |
|
static FVector K2_MakePerlinNoiseVectorAndRemap
(
float X, |
This function creates perlin noise from input X, Y, Z, and then range map to RangeOut, and out put to OutX, OutY, OutZ | KismetAnimationLibrary.h |
|
static void K2_StartProfilingTimer() |
This function starts measuring the time for a profiling bracket | KismetAnimationLibrary.h |
|
static void K2_TwoBoneIK
(
const FVector& RootPos, |
Computes the transform for two bones using inverse kinematics. | KismetAnimationLibrary.h |
|