Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UKismetAnimationLibrary
References
| Module | AnimGraphRuntime |
| Header | /Engine/Source/Runtime/AnimGraphRuntime/Public/KismetAnimationLibrary.h |
| Include | #include "KismetAnimationLibrary.h" |
Syntax
class UKismetAnimationLibrary : public UBlueprintFunctionLibrary
Remarks
A library of the most common animation blueprint functions.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UKismetAnimationLibrary
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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]. | |
| float | K2_CalculateVelocityFromPositionHistory
(
float DeltaSeconds, |
This function calculates the velocity of a position changing over time. | |
| float | K2_CalculateVelocityFromSockets
(
float DeltaSeconds, |
This function calculates the velocity of an offset position on a bone / socket over time. | |
| FVector | K2_DirectionBetweenSockets
(
const USkeletalMeshComponent* Component, |
Computes the direction between two bones / sockets. | |
| float | K2_DistanceBetweenTwoSocketsAndMapRange
(
const USkeletalMeshComponent* Component, |
Computes the distance between two bones / sockets and can remap the range. | |
| float | K2_EndProfilingTimer
(
bool bLog, |
This function ends measuring a profiling bracket and optionally logs the result | |
| FTransform | K2_LookAt
(
const FTransform& CurrentTransform, |
Computes the transform which is "looking" at target position with a local axis. | |
| float | K2_MakePerlinNoiseAndRemap
(
float Value, |
This function creates perlin noise for a single float and then range map to RangeOut | |
| 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 | |
| void | This function starts measuring the time for a profiling bracket | ||
| void | K2_TwoBoneIK
(
const FVector& RootPos, |
Computes the transform for two bones using inverse kinematics. |