UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
KismetMathLibrary.cpp File Reference
#include "Kismet/KismetMathLibrary.h"
#include "Engine/Engine.h"
#include "Curves/CurveFloat.h"
#include "DrawDebugHelpers.h"
#include "Blueprint/BlueprintSupport.h"
#include "Math/ConvexHull2d.h"
#include "Math/DualQuat.h"
#include "Math/Box.h"
#include "Math/RandomStream.h"
#include "Misc/RuntimeErrors.h"
#include "Misc/QualifiedFrameTime.h"
#include "Templates/SubclassOf.h"
#include <type_traits>
#include "Kismet/KismetMathLibrary.inl"

Macros

#define LOCTEXT_NAMESPACE   "UKismetMathLibrary"
 

Functions

template<typename FloatType UE_REQUIRES>
FloatType EaseAlpha (FloatType InAlpha, uint8 EasingFunc, FloatType BlendExp, int32 Steps)
 
template<typename T >
void GenericSpringInterp (T &Current, const T Target, T &PrevTarget, bool &bPrevTargetValid, T &Velocity, float Stiffness, float CriticalDamping, float DeltaTime, float TargetVelocityAmount, float Mass, bool bInitializeFromTarget)
 

Variables

const FName DivideByZeroWarning = FName("DivideByZeroWarning")
 
const FName NegativeSqrtWarning = FName("NegativeSqrtWarning")
 
const FName ZeroLengthProjectionWarning = FName("ZeroLengthProjectionWarning")
 
const FName InvalidDateWarning = FName("InvalidDateWarning")
 
const FName InvalidIndexConversionParameterWarning = FName("InvalidIndexConversionParameterWarning")
 

Macro Definition Documentation

◆ LOCTEXT_NAMESPACE

#define LOCTEXT_NAMESPACE   "UKismetMathLibrary"

Function Documentation

◆ EaseAlpha()

template<typename FloatType UE_REQUIRES>
FloatType EaseAlpha ( FloatType  InAlpha,
uint8  EasingFunc,
FloatType  BlendExp,
int32  Steps 
)

Interpolate a linear alpha value using an ease mode and function.

◆ GenericSpringInterp()

template<typename T >
void GenericSpringInterp ( T &  Current,
const T  Target,
T &  PrevTarget,
bool bPrevTargetValid,
T &  Velocity,
float  Stiffness,
float  CriticalDamping,
float  DeltaTime,
float  TargetVelocityAmount,
float  Mass,
bool  bInitializeFromTarget 
)

Variable Documentation

◆ DivideByZeroWarning

const FName DivideByZeroWarning = FName("DivideByZeroWarning")

◆ InvalidDateWarning

const FName InvalidDateWarning = FName("InvalidDateWarning")

◆ InvalidIndexConversionParameterWarning

const FName InvalidIndexConversionParameterWarning = FName("InvalidIndexConversionParameterWarning")

◆ NegativeSqrtWarning

const FName NegativeSqrtWarning = FName("NegativeSqrtWarning")

◆ ZeroLengthProjectionWarning

const FName ZeroLengthProjectionWarning = FName("ZeroLengthProjectionWarning")