Header <Kismet/KismetMathLibrary.h>
#include "Kismet/KismetMathLibrary.h"Includes 12
<CoreMinimal.h> |
<UObject/Script.h> |
<UObject/ObjectMacros.h> |
<Math/RandomStream.h> |
<Templates/SubclassOf.h> |
<UObject/UnrealType.h> |
<UObject/Stack.h> |
<UObject/ScriptMacros.h> |
<Kismet/BlueprintFunctionLibrary.h> |
<Misc/QualifiedFrameTime.h> |
<Engine/NetSerialization.h> |
<KismetMathLibrary.inl> |
Contents
UKismetMathLibrary | (uclass class : UBlueprintFunctionLibrary) |
class UKismetMathLibrary
class UKismetMathLibrary : public UBlueprintFunctionLibraryUCLASSMinimalAPIStatic functions 735
| RandomBool | static bool RandomBool();UFUNCTIONBlueprintPureCategory=Math|RandomBoolean functions. Returns a uniformly distributed random bool |
| RandomBoolWithWeight | static bool RandomBoolWithWeight(float Weight);UFUNCTIONBlueprintPureCategory=Math|RandomGet a random chance with the specified weight. Range of weight is 0.0 - 1.0 E.g., Weight = .6 return value = True 60% of the time |
| RandomBoolWithWeightFromStream | static bool RandomBoolWithWeightFromStream(const FRandomStream& RandomStream, float Weight);UFUNCTIONBlueprintPureCategory=Math|RandomGet a random chance with the specified weight. Range of weight is 0.0 - 1.0 E.g., Weight = .6 return value = True 60% of the time |
| Not_PreBool | static bool Not_PreBool(bool A);UFUNCTIONBlueprintPureCategory=Math|BooleanReturns the logical complement of the Boolean value (NOT A) |
| EqualEqual_BoolBool | static bool EqualEqual_BoolBool(bool A, bool B);UFUNCTIONBlueprintPureCategory=Math|BooleanReturns true if the values are equal (A == B) |
| NotEqual_BoolBool | static bool NotEqual_BoolBool(bool A, bool B);UFUNCTIONBlueprintPureCategory=Math|BooleanReturns true if the values are not equal (A != B) |
| BooleanAND | static bool BooleanAND(bool A, bool B);UFUNCTIONBlueprintPureCategory=Math|BooleanReturns the logical AND of two values (A AND B) |
| BooleanNAND | static bool BooleanNAND(bool A, bool B);UFUNCTIONBlueprintPureCategory=Math|BooleanReturns the logical NAND of two values (A AND B) |
| BooleanOR | static bool BooleanOR(bool A, bool B);UFUNCTIONBlueprintPureCategory=Math|BooleanReturns the logical OR of two values (A OR B) |
| BooleanXOR | static bool BooleanXOR(bool A, bool B);UFUNCTIONBlueprintPureCategory=Math|BooleanReturns the logical eXclusive OR of two values (A XOR B) |
| BooleanNOR | static bool BooleanNOR(bool A, bool B);UFUNCTIONBlueprintPureCategory=Math|BooleanReturns the logical Not OR of two values (A NOR B) |
| Multiply_ByteByte | static uint8 Multiply_ByteByte(uint8 A, uint8 B);UFUNCTIONBlueprintPureCategory=Math|ByteByte functions. Multiplication (A * B) |
| Divide_ByteByte | static uint8 Divide_ByteByte(uint8 A, uint8 B = 1);UFUNCTIONBlueprintPureCategory=Math|ByteDivision (A / B) |
| Percent_ByteByte | static uint8 Percent_ByteByte(uint8 A, uint8 B = 1);UFUNCTIONBlueprintPureCategory=Math|ByteModulo (A % B) |
| Add_ByteByte | static uint8 Add_ByteByte(uint8 A, uint8 B = 1);UFUNCTIONBlueprintPureCategory=Math|ByteAddition (A + B) |
| Subtract_ByteByte | static uint8 Subtract_ByteByte(uint8 A, uint8 B = 1);UFUNCTIONBlueprintPureCategory=Math|ByteSubtraction (A - B) |
| BMin | static uint8 BMin(uint8 A, uint8 B);UFUNCTIONBlueprintPureCategory=Math|ByteReturns the minimum value of A and B |
| BMax | static uint8 BMax(uint8 A, uint8 B);UFUNCTIONBlueprintPureCategory=Math|ByteReturns the maximum value of A and B |
| Less_ByteByte | static bool Less_ByteByte(uint8 A, uint8 B);UFUNCTIONBlueprintPureReturns true if A is less than B (A < B) |
| Greater_ByteByte | static bool Greater_ByteByte(uint8 A, uint8 B);UFUNCTIONBlueprintPureReturns true if A is greater than B (A > B) |
| LessEqual_ByteByte | static bool LessEqual_ByteByte(uint8 A, uint8 B);UFUNCTIONBlueprintPureReturns true if A is less than or equal to B (A <= B) |
| GreaterEqual_ByteByte | static bool GreaterEqual_ByteByte(uint8 A, uint8 B);UFUNCTIONBlueprintPureReturns true if A is greater than or equal to B (A >= B) |
| EqualEqual_ByteByte | static bool EqualEqual_ByteByte(uint8 A, uint8 B);UFUNCTIONBlueprintPureCategory=Math|ByteReturns true if A is equal to B (A == B) |
| NotEqual_ByteByte | static bool NotEqual_ByteByte(uint8 A, uint8 B);UFUNCTIONBlueprintPureCategory=Math|ByteReturns true if A is not equal to B (A != B) |
| Multiply_IntInt | static int32 Multiply_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntegerInteger functions. Multiplication (A * B) |
| Divide_IntInt | static int32 Divide_IntInt(int32 A, int32 B = 1);UFUNCTIONBlueprintPureCategory=Math|IntegerDivision (A / B) |
| Percent_IntInt | static int32 Percent_IntInt(int32 A, int32 B = 1);UFUNCTIONBlueprintPureCategory=Math|IntegerModulo (A % B) |
| Add_IntInt | static int32 Add_IntInt(int32 A, int32 B = 1);UFUNCTIONBlueprintPureCategory=Math|IntegerAddition (A + B) |
| Subtract_IntInt | static int32 Subtract_IntInt(int32 A, int32 B = 1);UFUNCTIONBlueprintPureCategory=Math|IntegerSubtraction (A - B) |
| Less_IntInt | static bool Less_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureReturns true if A is less than B (A < B) |
| Greater_IntInt | static bool Greater_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureReturns true if A is greater than B (A > B) |
| LessEqual_IntInt | static bool LessEqual_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureReturns true if A is less than or equal to B (A <= B) |
| GreaterEqual_IntInt | static bool GreaterEqual_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureReturns true if A is greater than or equal to B (A >= B) |
| EqualEqual_IntInt | static bool EqualEqual_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns true if A is equal to B (A == B) |
| NotEqual_IntInt | static bool NotEqual_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns true if A is not equal to B (A != B) |
| InRange_IntInt | static bool InRange_IntInt(int32 Value, int32 Min, int32 Max, bool InclusiveMin = true, bool InclusiveMax = true);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns true if value is between Min and Max (V >= Min && V <= Max) If InclusiveMin is true, value needs to be equal or larger than Min, else it needs to be larger If InclusiveMax is true, value needs to be smaller… |
| And_IntInt | static int32 And_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntegerBitwise AND (A & B) |
| Xor_IntInt | static int32 Xor_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntegerBitwise XOR (A ^ B) |
| Or_IntInt | static int32 Or_IntInt(int32 A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntegerBitwise OR (A | B) |
| Not_Int | static int32 Not_Int(int32 A);UFUNCTIONBlueprintPureCategory=Math|IntegerBitwise NOT (~A) |
| SignOfInteger | static int32 SignOfInteger(int32 A);UFUNCTIONBlueprintPureCategory=Math|IntegerSign (integer, returns -1 if A < 0, 0 if A is zero, and +1 if A > 0) |
| RandomInteger | static int32 RandomInteger(UPARAM(DisplayName = "Exclusive Max") int32 Max);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a uniformly distributed random number between 0 and Max - 1 |
| RandomIntegerInRange | static int32 RandomIntegerInRange(int32 Min, int32 Max);UFUNCTIONBlueprintPureCategory=Math|RandomReturn a random integer between Min and Max (>= Min and <= Max) |
| Min | static int32 Min(int32 A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns the minimum value of A and B |
| Max | static int32 Max(int32 A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns the maximum value of A and B |
| Clamp | static int32 Clamp(int32 Value, int32 Min, int32 Max);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns Value clamped to be between A and B (inclusive) |
| Wrap | static int32 Wrap(int32 Value, int32 Min, int32 Max);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns Value between A and B (inclusive) that wraps around |
| Abs_Int | static int32 Abs_Int(int32 A);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns the absolute (positive) value of A |
| Multiply_Int64Int64 | static int64 Multiply_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureCategory=Math|Integer64Integer64 functions. Multiplication (A * B) |
| Divide_Int64Int64 | static int64 Divide_Int64Int64(int64 A, int64 B = 1);UFUNCTIONBlueprintPureCategory=Math|Integer64Division (A / B) |
| Percent_Int64Int64 | static int64 Percent_Int64Int64(int64 A, int64 B = 1);UFUNCTIONBlueprintPureCategory=Math|Integer64Modulo (A % B) |
| Add_Int64Int64 | static int64 Add_Int64Int64(int64 A, int64 B = 1);UFUNCTIONBlueprintPureCategory=Math|Integer64Addition (A + B) |
| Subtract_Int64Int64 | static int64 Subtract_Int64Int64(int64 A, int64 B = 1);UFUNCTIONBlueprintPureCategory=Math|Integer64Subtraction (A - B) |
| Less_Int64Int64 | static bool Less_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureReturns true if A is less than B (A < B) |
| Greater_Int64Int64 | static bool Greater_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureReturns true if A is greater than B (A > B) |
| LessEqual_Int64Int64 | static bool LessEqual_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureReturns true if A is less than or equal to B (A <= B) |
| GreaterEqual_Int64Int64 | static bool GreaterEqual_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureReturns true if A is greater than or equal to B (A >= B) |
| EqualEqual_Int64Int64 | static bool EqualEqual_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureCategory=Math|Integer64Returns true if A is equal to B (A == B) |
| NotEqual_Int64Int64 | static bool NotEqual_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureCategory=Math|Integer64Returns true if A is not equal to B (A != B) |
| InRange_Int64Int64 | static bool InRange_Int64Int64(int64 Value, int64 Min, int64 Max, bool InclusiveMin = true, bool InclusiveMax = true);UFUNCTIONBlueprintPureCategory=Math|Integer64Returns true if value is between Min and Max (V >= Min && V <= Max) If InclusiveMin is true, value needs to be equal or larger than Min, else it needs to be larger If InclusiveMax is true, value needs to be smaller… |
| And_Int64Int64 | static int64 And_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureCategory=Math|Integer64Bitwise AND (A & B) |
| Xor_Int64Int64 | static int64 Xor_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureCategory=Math|Integer64Bitwise XOR (A ^ B) |
| Or_Int64Int64 | static int64 Or_Int64Int64(int64 A, int64 B);UFUNCTIONBlueprintPureCategory=Math|Integer64Bitwise OR (A | B) |
| Not_Int64 | static int64 Not_Int64(int64 A);UFUNCTIONBlueprintPureCategory=Math|Integer64Bitwise NOT (~A) |
| SignOfInteger64 | static int64 SignOfInteger64(int64 A);UFUNCTIONBlueprintPureCategory=Math|Integer64Sign (integer64, returns -1 if A < 0, 0 if A is zero, and +1 if A > 0) |
| RandomInteger64 | static int64 RandomInteger64(UPARAM(DisplayName = "Exclusive Max") int64 Max);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a uniformly distributed random number between 0 and Max - 1 |
| RandomInteger64InRange | static int64 RandomInteger64InRange(int64 Min, int64 Max);UFUNCTIONBlueprintPureCategory=Math|RandomReturn a random integer64 between Min and Max (>= Min and <= Max) |
| MinInt64 | static int64 MinInt64(int64 A, int64 B);UFUNCTIONBlueprintPureCategory=Math|Integer64Returns the minimum value of A and B |
| MaxInt64 | static int64 MaxInt64(int64 A, int64 B);UFUNCTIONBlueprintPureCategory=Math|Integer64Returns the maximum value of A and B |
| ClampInt64 | static int64 ClampInt64(int64 Value, int64 Min, int64 Max);UFUNCTIONBlueprintPureCategory=Math|Integer64Returns Value clamped to be between A and B (inclusive) |
| Abs_Int64 | static int64 Abs_Int64(int64 A);UFUNCTIONBlueprintPureCategory=Math|Integer64Returns the absolute (positive) value of A |
| MultiplyMultiply_FloatFloat | static double MultiplyMultiply_FloatFloat(double Base, double Exp);UFUNCTIONBlueprintPureCategory=Math|FloatFloat functions. Power (Base to the Exp-th power) |
| Multiply_IntFloat | static double Multiply_IntFloat(int32 A, double B);UFUNCTIONBlueprintPureCategory=Math|FloatMultiplication (A * B) |
| Percent_FloatFloat | static double Percent_FloatFloat(double A, double B = 1.f);UFUNCTIONBlueprintPureCategory=Math|FloatModulo (A % B) |
| GenericPercent_FloatFloat | static double GenericPercent_FloatFloat(double A, double B); |
| Fraction | static double Fraction(double A);UFUNCTIONBlueprintPureCategory=Math|FloatReturns the fractional part of a float. |
| Add_DoubleDouble | static double Add_DoubleDouble(double A, double B = 1.0);UFUNCTIONBlueprintPureCategory=Math|FloatAddition (A + B) |
| Subtract_DoubleDouble | static double Subtract_DoubleDouble(double A, double B = 1.0);UFUNCTIONBlueprintPureCategory=Math|FloatSubtraction (A - B) |
| Multiply_DoubleDouble | static double Multiply_DoubleDouble(double A, double B);UFUNCTIONBlueprintPureCategory=Math|FloatMultiplication (A * B) |
| Divide_DoubleDouble | static double Divide_DoubleDouble(double A, double B = 1.0);UFUNCTIONBlueprintPureCategory=Math|FloatDivision (A / B) |
| Less_DoubleDouble | static bool Less_DoubleDouble(double A, double B);UFUNCTIONBlueprintPureReturns true if A is Less than B (A < B) |
| Greater_DoubleDouble | static bool Greater_DoubleDouble(double A, double B);UFUNCTIONBlueprintPureReturns true if A is greater than B (A > B) |
| LessEqual_DoubleDouble | static bool LessEqual_DoubleDouble(double A, double B);UFUNCTIONBlueprintPureReturns true if A is Less than or equal to B (A <= B) |
| GreaterEqual_DoubleDouble | static bool GreaterEqual_DoubleDouble(double A, double B);UFUNCTIONBlueprintPureReturns true if A is greater than or equal to B (A >= B) |
| EqualEqual_DoubleDouble | static bool EqualEqual_DoubleDouble(double A, double B);UFUNCTIONBlueprintPureCategory=Math|FloatReturns true if A is exactly equal to B (A == B) |
| NearlyEqual_FloatFloat | static bool NearlyEqual_FloatFloat(double A, double B, double ErrorTolerance = 1.e-6);UFUNCTIONBlueprintPureCategory=Math|FloatReturns true if A is nearly equal to B (|A - B| < ErrorTolerance) |
| NotEqual_DoubleDouble | static bool NotEqual_DoubleDouble(double A, double B);UFUNCTIONBlueprintPureCategory=Math|FloatReturns true if A does not equal B (A != B) |
| InRange_FloatFloat | static bool InRange_FloatFloat(double Value, double Min, double Max, bool InclusiveMin = true, bool InclusiveMax = true);UFUNCTIONBlueprintPureCategory=Math|FloatReturns true if value is between Min and Max (V >= Min && V <= Max) If InclusiveMin is true, value needs to be equal or larger than Min, else it needs to be larger If InclusiveMax is true, value needs to be smaller… |
| Hypotenuse | static double Hypotenuse(double Width, double Height);UFUNCTIONBlueprintPureCategory=Math|FloatReturns the hypotenuse of a right-angled triangle given the width and height. |
| GridSnap_Float | static double GridSnap_Float(double Location, double GridSize);UFUNCTIONBlueprintPureCategory=Math|FloatSnaps a value to the nearest grid multiple. E.g., Location = 5.1, GridSize = 10.0 : return value = 10.0 If GridSize is 0 Location is returned if GridSize is very small precision issues may occur. |
| Abs | static double Abs(double A);UFUNCTIONBlueprintPureCategory=Math|FloatReturns the absolute (positive) value of A |
| Sin | static double Sin(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the sine of A (expects Radians) |
| Asin | static double Asin(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the inverse sine (arcsin) of A (result is in Radians) |
| Cos | static double Cos(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the cosine of A (expects Radians) |
| Acos | static double Acos(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the inverse cosine (arccos) of A (result is in Radians) |
| Tan | static double Tan(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the tan of A (expects Radians) |
| Atan | static double Atan(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the inverse tan (atan) (result is in Radians) |
| Atan2 | static double Atan2(double Y, double X);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the inverse tan (atan2) of A/B (result is in Radians) |
| Exp | static double Exp(double A);UFUNCTIONBlueprintPureCategory=Math|FloatReturns exponential(e) to the power A (e^A) |
| Log | static double Log(double A, double Base = 1.0);UFUNCTIONBlueprintPureCategory=Math|FloatReturns log of A base B (if B^R == A, returns R) |
| Loge | static double Loge(double A);UFUNCTIONBlueprintPureCategory=Math|FloatReturns natural log of A (if e^R == A, returns R) |
| Sqrt | static double Sqrt(double A);UFUNCTIONBlueprintPureCategory=Math|FloatReturns square root of A |
| Square | static double Square(double A);UFUNCTIONBlueprintPureCategory=Math|FloatReturns square of A (A*A) |
| RandomFloat | static double RandomFloat();UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random float between 0 and 1 |
| RandomFloatInRange | static double RandomFloatInRange(double Min, double Max);UFUNCTIONBlueprintPureCategory=Math|RandomGenerate a random number between Min and Max |
| GetPI | static double GetPI();UFUNCTIONBlueprintPureCategory=Math|TrigReturns the value of PI |
| GetTAU | static double GetTAU();UFUNCTIONBlueprintPureCategory=Math|TrigReturns the value of TAU (= 2 * PI) |
| DegreesToRadians | static double DegreesToRadians(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns radians value based on the input degrees |
| RadiansToDegrees | static double RadiansToDegrees(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns degrees value based on the input radians |
| DegSin | static double DegSin(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the sin of A (expects Degrees) |
| DegAsin | static double DegAsin(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the inverse sin (arcsin) of A (result is in Degrees) |
| DegCos | static double DegCos(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the cos of A (expects Degrees) |
| DegAcos | static double DegAcos(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the inverse cos (arccos) of A (result is in Degrees) |
| DegTan | static double DegTan(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the tan of A (expects Degrees) |
| DegAtan | static double DegAtan(double A);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the inverse tan (atan) (result is in Degrees) |
| DegAtan2 | static double DegAtan2(double Y, double X);UFUNCTIONBlueprintPureCategory=Math|TrigReturns the inverse tan (atan2) of A/B (result is in Degrees) |
| ClampAngle | static double ClampAngle(double AngleDegrees, double MinAngleDegrees, double MaxAngleDegrees);UFUNCTIONBlueprintPureCategory=Math|FloatClamps an arbitrary angle to be between the given angles. Will clamp to nearest boundary. |
| FMin | static double FMin(double A, double B);UFUNCTIONBlueprintPureCategory=Math|FloatReturns the minimum value of A and B |
| FMax | static double FMax(double A, double B);UFUNCTIONBlueprintPureCategory=Math|FloatReturns the maximum value of A and B |
| FClamp | static double FClamp(double Value, double Min, double Max);UFUNCTIONBlueprintPureCategory=Math|FloatReturns Value clamped between A and B (inclusive) |
| FWrap | static double FWrap(double Value, double Min, double Max);UFUNCTIONBlueprintPureCategory=Math|FloatReturns Value wrapped from A and B (inclusive) |
| SafeDivide | static double SafeDivide(double A, double B);UFUNCTIONBlueprintPureCategory=Math|FloatThis functions returns 0 if B (the denominator) is zero |
| MaxOfIntArray | static void MaxOfIntArray(const TArray<int32>& IntArray, int32& IndexOfMaxValue, int32& MaxValue);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns max of all array entries and the index at which it was found. Returns value of 0 and index of -1 if the supplied array is empty. |
| MinOfIntArray | static void MinOfIntArray(const TArray<int32>& IntArray, int32& IndexOfMinValue, int32& MinValue);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns min of all array entries and the index at which it was found. Returns value of 0 and index of -1 if the supplied array is empty. |
| MedianOfIntArray | static void MedianOfIntArray(TArray<int32> IntArray, float& MedianValue);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns median of all array entries. Returns value of 0 if the supplied array is empty. |
| AverageOfIntArray | static void AverageOfIntArray(const TArray<int32>& IntArray, float& AverageValue);UFUNCTIONBlueprintPureCategory=Math|IntegerReturns average of all array entries. Returns value of 0 if the supplied array is empty. |
| MaxOfFloatArray | static void MaxOfFloatArray(const TArray<float>& FloatArray, int32& IndexOfMaxValue, float& MaxValue);UFUNCTIONBlueprintPureCategory=Math|FloatReturns max of all array entries and the index at which it was found. Returns value of 0 and index of -1 if the supplied array is empty. |
| MinOfFloatArray | static void MinOfFloatArray(const TArray<float>& FloatArray, int32& IndexOfMinValue, float& MinValue);UFUNCTIONBlueprintPureCategory=Math|FloatReturns min of all array entries and the index at which it was found. Returns value of 0 and index of -1 if the supplied array is empty. |
| MaxOfByteArray | static void MaxOfByteArray(const TArray<uint8>& ByteArray, int32& IndexOfMaxValue, uint8& MaxValue);UFUNCTIONBlueprintPureCategory=Math|ByteReturns max of all array entries and the index at which it was found. Returns value of 0 and index of -1 if the supplied array is empty. |
| MinOfByteArray | static void MinOfByteArray(const TArray<uint8>& ByteArray, int32& IndexOfMinValue, uint8& MinValue);UFUNCTIONBlueprintPureCategory=Math|ByteReturns min of all array entries and the index at which it was found. Returns value of 0 and index of -1 if the supplied array is empty. |
| Lerp | static double Lerp(double A, double B, double Alpha);UFUNCTIONBlueprintPureCategory=Math|FloatLinearly interpolates between A and B based on Alpha (100% of A when Alpha=0 and 100% of B when Alpha=1) |
| Ease | static double Ease(double A, double B, double Alpha, TEnumAsByte<EEasingFunc::Type> EasingFunc, double BlendExp = 2, int32 Steps = 2);UFUNCTIONBlueprintPureCategory=Math|InterpolationEaseing between A and B using a specified easing function |
| Round | static int32 Round(double A);UFUNCTIONBlueprintPureCategory=Math|FloatRounds A to the nearest integer (e.g., -1.6 becomes -2 and 1.6 becomes 2) |
| FFloor | static int32 FFloor(double A);UFUNCTIONBlueprintPureCategory=Math|FloatRounds A down towards negative infinity / down to the previous integer (e.g., -1.6 becomes -2 and 1.6 becomes 1) |
| FTrunc | static int32 FTrunc(double A);UFUNCTIONBlueprintPureCategory=Math|FloatRounds A towards zero, truncating the fractional part (e.g., -1.6 becomes -1 and 1.6 becomes 1) |
| FCeil | static int32 FCeil(double A);UFUNCTIONBlueprintPureCategory=Math|FloatTODO: ok to change with BP Autocast? Rounds A up towards positive infinity / up to the next integer (e.g., -1.6 becomes -1 and 1.6 becomes 2) |
| Round64 | static int64 Round64(double A);UFUNCTIONBlueprintPureCategory=Math|FloatRounds A to the nearest integer (e.g., -1.6 becomes -2 and 1.6 becomes 2) |
| FFloor64 | static int64 FFloor64(double A);UFUNCTIONBlueprintPureCategory=Math|FloatRounds A down towards negative infinity / down to the previous integer (e.g., -1.6 becomes -2 and 1.6 becomes 1) |
| FTrunc64 | static int64 FTrunc64(double A);UFUNCTIONBlueprintPureCategory=Math|FloatRounds A towards zero, truncating the fractional part (e.g., -1.6 becomes -1 and 1.6 becomes 1) |
| FCeil64 | static int64 FCeil64(double A);UFUNCTIONBlueprintPureCategory=Math|FloatRounds A up towards positive infinity / up to the next integer (e.g., -1.6 becomes -1 and 1.6 becomes 2) |
| FMod | static int32 FMod(double Dividend, double Divisor, double& Remainder);UFUNCTIONBlueprintPureCategory=Math|FloatReturns the number of times Divisor will go into Dividend (i.e., Dividend divided by Divisor), as well as the remainder |
| FMod64 | static int64 FMod64(double Dividend, double Divisor, double& Remainder);UFUNCTIONBlueprintPureCategory=Math|FloatReturns the number of times Divisor will go into Dividend (i.e., Dividend divided by Divisor), as well as the remainder |
| SignOfFloat | static double SignOfFloat(double A);UFUNCTIONBlueprintPureCategory=Math|FloatSign (float, returns -1 if A < 0, 0 if A is zero, and +1 if A > 0) |
| NormalizeToRange | static double NormalizeToRange(double Value, double RangeMin, double RangeMax);UFUNCTIONBlueprintPureCategory=Math|FloatReturns Value normalized to the given range. (e.g. 20 normalized to the range 10->50 would result in 0.25) |
| MapRangeUnclamped | static double MapRangeUnclamped(double Value, double InRangeA, double InRangeB, double OutRangeA, double OutRangeB);UFUNCTIONBlueprintPureCategory=Math|FloatReturns Value mapped from one range into another. (e.g. 20 normalized from the range 10->50 to 20->40 would result in 25) |
| MapRangeClamped | static double MapRangeClamped(double Value, double InRangeA, double InRangeB, double OutRangeA, double OutRangeB);UFUNCTIONBlueprintPureCategory=Math|FloatReturns Value mapped from one range into another where the Value is clamped to the Input Range. (e.g. 0.5 normalized from the range 0->1 to 0->50 would result in 25) |
| MultiplyByPi | static double MultiplyByPi(double Value);UFUNCTIONBlueprintPureCategory=Math|FloatMultiplies the input value by pi. |
| FInterpEaseInOut | static double FInterpEaseInOut(double A, double B, double Alpha, double Exponent);UFUNCTIONBlueprintPureCategory=Math|FloatInterpolate between A and B, applying an ease in/out function. Exp controls the degree of the curve. |
| GetRuntimeFloatCurveValue | static float GetRuntimeFloatCurveValue(const FRuntimeFloatCurve& Curve, const float InTime, const float InDefaultValue = 0.0f);UFUNCTIONBlueprintPureCategory=Math|CurvesEvaluate this runtime float curve at the specified time |
| MakePulsatingValue | static float MakePulsatingValue(float InCurrentTime, float InPulsesPerSecond = 1.0f, float InPhase = 0.0f);UFUNCTIONBlueprintPureCategory=Math|FloatSimple function to create a pulsating scalar value |
| FixedTurn | static float FixedTurn(float InCurrent, float InDesired, float InDeltaRate);UFUNCTIONBlueprintPureCategory=Math|FloatReturns a new rotation component value |
| IntPoint_Zero | static FIntPoint IntPoint_Zero();UFUNCTIONBlueprintPureCategory=Math|IntPoint|ConstantsIntPoint constants Zero Int Point (0, 0) |
| IntPoint_One | static FIntPoint IntPoint_One();UFUNCTIONBlueprintPureCategory=Math|IntPoint|ConstantsOne Int Point (1, 1) |
| IntPoint_Up | static FIntPoint IntPoint_Up();UFUNCTIONBlueprintPureCategory=Math|IntPoint|ConstantsUp Int Point (0, -1) |
| IntPoint_Left | static FIntPoint IntPoint_Left();UFUNCTIONBlueprintPureCategory=Math|IntPoint|ConstantsLeft Int Point (-1, 0) |
| IntPoint_Right | static FIntPoint IntPoint_Right();UFUNCTIONBlueprintPureCategory=Math|IntPoint|ConstantsRight Int Point (1, 0) |
| IntPoint_Down | static FIntPoint IntPoint_Down();UFUNCTIONBlueprintPureCategory=Math|IntPoint|ConstantsDown Int Point (0, 1) |
| Conv_IntPointToVector2D | static FVector2D Conv_IntPointToVector2D(FIntPoint InIntPoint);UFUNCTIONBlueprintPureIntPoint functions Converts an IntPoint to a Vector2D |
| Add_IntPointIntPoint | static FIntPoint Add_IntPointIntPoint(FIntPoint A, FIntPoint B);UFUNCTIONBlueprintPureCategory=Math|IntPointReturns IntPoint A added by B |
| Add_IntPointInt | static FIntPoint Add_IntPointInt(FIntPoint A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntPointAddition (A - B) |
| Subtract_IntPointIntPoint | static FIntPoint Subtract_IntPointIntPoint(FIntPoint A, FIntPoint B);UFUNCTIONBlueprintPureCategory=Math|IntPointReturns IntPoint A subtracted by B |
| Subtract_IntPointInt | static FIntPoint Subtract_IntPointInt(FIntPoint A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntPointSubtraction (A - B) |
| Multiply_IntPointIntPoint | static FIntPoint Multiply_IntPointIntPoint(FIntPoint A, FIntPoint B);UFUNCTIONBlueprintPureCategory=Math|IntPointReturns IntPoint A multiplied by B |
| Multiply_IntPointInt | static FIntPoint Multiply_IntPointInt(FIntPoint A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntPointMultiplication (A * B) |
| Divide_IntPointIntPoint | static FIntPoint Divide_IntPointIntPoint(FIntPoint A, FIntPoint B);UFUNCTIONBlueprintPureCategory=Math|IntPointReturns IntPoint A divided by B |
| Divide_IntPointInt | static FIntPoint Divide_IntPointInt(FIntPoint A, int32 B);UFUNCTIONBlueprintPureCategory=Math|IntPointDivision (A * B) |
| Equal_IntPointIntPoint | static bool Equal_IntPointIntPoint(FIntPoint A, FIntPoint B);UFUNCTIONBlueprintPureCategory=Math|IntPointReturns true if IntPoint A is equal to IntPoint B (A == B) |
| NotEqual_IntPointIntPoint | static bool NotEqual_IntPointIntPoint(FIntPoint A, FIntPoint B);UFUNCTIONBlueprintPureCategory=Math|IntPointReturns true if IntPoint A is NOT equal to IntPoint B (A != B) |
| Vector2D_One | static FVector2D Vector2D_One();UFUNCTIONBlueprintPureCategory=Math|Vector2DVector2D constants - exposed for scripting 2D one vector constant (1,1) |
| Vector2D_Unit45Deg | static FVector2D Vector2D_Unit45Deg();UFUNCTIONBlueprintPureCategory=Math|Vector2D2D unit vector constant along the 45 degree angle or symmetrical positive axes (sqrt(.5),sqrt(.5)) or (.707,.707). https://en.wikipedia.org/wiki/Unit_vector |
| Vector2D_Zero | static FVector2D Vector2D_Zero();UFUNCTIONBlueprintPureCategory=Math|Vector2D2D zero vector constant (0,0) |
| MakeVector2D | static FVector2D MakeVector2D(double X, double Y);UFUNCTIONBlueprintPureCategory=Math|Vector2DVector2D functions Makes a 2d vector {X, Y} |
| BreakVector2D | static void BreakVector2D(FVector2D InVec, double& X, double& Y);UFUNCTIONBlueprintPureCategory=Math|Vector2DBreaks a 2D vector apart into X, Y. |
| Conv_Vector2DToVector | static FVector Conv_Vector2DToVector(FVector2D InVector2D, float Z = 0);UFUNCTIONBlueprintPureConverts a Vector2D to a Vector |
| Conv_Vector2DToIntPoint | static FIntPoint Conv_Vector2DToIntPoint(FVector2D InVector2D);UFUNCTIONBlueprintPureConverts a Vector2D to an IntPoint |
| Add_Vector2DVector2D | static FVector2D Add_Vector2DVector2D(FVector2D A, FVector2D B);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns addition of Vector A and Vector B (A + B) |
| Add_Vector2DFloat | static FVector2D Add_Vector2DFloat(FVector2D A, double B);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns Vector A added by B |
| Subtract_Vector2DVector2D | static FVector2D Subtract_Vector2DVector2D(FVector2D A, FVector2D B);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns subtraction of Vector B from Vector A (A - B) |
| Subtract_Vector2DFloat | static FVector2D Subtract_Vector2DFloat(FVector2D A, double B);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns Vector A subtracted by B |
| Multiply_Vector2DVector2D | static FVector2D Multiply_Vector2DVector2D(FVector2D A, FVector2D B);UFUNCTIONBlueprintPureCategory=Math|Vector2DElement-wise Vector multiplication (Result = {A.x*B.x, A.y*B.y}) |
| Multiply_Vector2DFloat | static FVector2D Multiply_Vector2DFloat(FVector2D A, double B);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns Vector A scaled by B |
| Divide_Vector2DVector2D | static FVector2D Divide_Vector2DVector2D(FVector2D A, FVector2D B);UFUNCTIONBlueprintPureCategory=Math|Vector2DElement-wise Vector divide (Result = {A.x/B.x, A.y/B.y}) |
| Divide_Vector2DFloat | static FVector2D Divide_Vector2DFloat(FVector2D A, double B = 1.f);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns Vector A divided by B |
| EqualExactly_Vector2DVector2D | static bool EqualExactly_Vector2DVector2D(FVector2D A, FVector2D B);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns true if vector A is equal to vector B (A == B) |
| EqualEqual_Vector2DVector2D | static bool EqualEqual_Vector2DVector2D(FVector2D A, FVector2D B, float ErrorTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns true if vector2D A is equal to vector2D B (A == B) within a specified error tolerance |
| NotEqualExactly_Vector2DVector2D | static bool NotEqualExactly_Vector2DVector2D(FVector2D A, FVector2D B);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns true if vector2D A is not equal to vector2D B (A != B) within a specified error tolerance |
| NotEqual_Vector2DVector2D | static bool NotEqual_Vector2DVector2D(FVector2D A, FVector2D B, float ErrorTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns true if vector2D A is not equal to vector2D B (A != B) within a specified error tolerance |
| Negated2D | static FVector2D Negated2D(const FVector2D& A);UFUNCTIONBlueprintPureCategory=Math|Vector2DGets a negated copy of the vector. |
| Set2D | static void Set2D(UPARAM(ref) FVector2D& A, double X, double Y);UFUNCTIONBlueprintCallableCategory=Math|Vector2DSet the values of the vector directly. |
| ClampAxes2D | static FVector2D ClampAxes2D(FVector2D A, double MinAxisVal, double MaxAxisVal);UFUNCTIONBlueprintPureCategory=Math|Vector2DCreates a copy of this vector with both axes clamped to the given range. |
| CrossProduct2D | static double CrossProduct2D(FVector2D A, FVector2D B);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns the cross product of two 2d vectors - see http://mathworld.wolfram.com/CrossProduct.html |
| Distance2D | static double Distance2D(FVector2D V1, FVector2D V2);UFUNCTIONBlueprintPureCategory=Math|Vector2DDistance between two 2D points. |
| DistanceSquared2D | static double DistanceSquared2D(FVector2D V1, FVector2D V2);UFUNCTIONBlueprintPureCategory=Math|Vector2DSquared distance between two 2D points. |
| DotProduct2D | static double DotProduct2D(FVector2D A, FVector2D B);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns the dot product of two 2d vectors - see http://mathworld.wolfram.com/DotProduct.html |
| GetAbs2D | static FVector2D GetAbs2D(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DGet a copy of this vector with absolute value of each component. |
| GetAbsMax2D | static double GetAbsMax2D(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DGet the maximum absolute value of the vector's components. |
| GetMax2D | static double GetMax2D(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DGet the maximum value of the vector's components. |
| GetMin2D | static double GetMin2D(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DGet the minimum value of the vector's components. |
| GetRotated2D | static FVector2D GetRotated2D(FVector2D A, float AngleDeg);UFUNCTIONBlueprintPureCategory=Math|Vector2DRotates around axis (0,0,1) |
| IsNearlyZero2D | static bool IsNearlyZero2D(const FVector2D& A, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|Vector2DChecks whether vector is near to zero within a specified tolerance. |
| IsZero2D | static bool IsZero2D(const FVector2D& A);UFUNCTIONBlueprintPureCategory=Math|Vector2DChecks whether all components of the vector are exactly zero. |
| Vector2DInterpTo | static FVector2D Vector2DInterpTo(FVector2D Current, FVector2D Target, float DeltaTime, float InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationTries to reach Target based on distance from Current position, giving a nice smooth feeling when tracking a position. |
| Vector2DInterpTo_Constant | static FVector2D Vector2DInterpTo_Constant(FVector2D Current, FVector2D Target, float DeltaTime, float InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationTries to reach Target at a constant rate. |
| NormalSafe2D | static FVector2D NormalSafe2D(FVector2D A, float Tolerance = 1.e-8f);UFUNCTIONBlueprintPureCategory=Math|Vector2DGets a normalized copy of the vector, checking it is safe to do so based on the length. Returns zero vector if vector length is too small to safely normalize. |
| Normal2D | static FVector2D Normal2D(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns a unit normal version of the 2D vector |
| Normalize2D | static void Normalize2D(UPARAM(ref) FVector2D& A, float Tolerance = 1.e-8f);UFUNCTIONBlueprintCallableCategory=Math|Vector2DNormalize this vector in-place if it is large enough, set it to (0,0) otherwise. |
| Spherical2DToUnitCartesian | static FVector Spherical2DToUnitCartesian(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DConverts spherical coordinates on the unit sphere into a Cartesian unit length vector. |
| ToDirectionAndLength2D | static void ToDirectionAndLength2D(FVector2D A, FVector2D &OutDir, double &OutLength);UFUNCTIONBlueprintPureCategory=Math|Vector2DUtil to convert this vector into a unit direction vector and its original length. |
| ToRounded2D | static FVector2D ToRounded2D(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DGet this vector as a vector where each component has been rounded to the nearest int. |
| ToSign2D | static FVector2D ToSign2D(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DGet a copy of the vector as sign only. Each component is set to +1 or -1, with the sign of zero treated as +1. |
| VSize2D | static double VSize2D(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns the length of a 2D Vector. |
| VSize2DSquared | static double VSize2DSquared(FVector2D A);UFUNCTIONBlueprintPureCategory=Math|Vector2DReturns the squared length of a 2D Vector. |
| Vector_Zero | static FVector Vector_Zero();UFUNCTIONBlueprintPureCategory=Math|VectorVector (3D) constants - exposed for scripting 3D vector zero constant (0,0,0) |
| Vector_One | static FVector Vector_One();UFUNCTIONBlueprintPureCategory=Math|Vector3D vector one constant (1,1,1) |
| Vector_Forward | static FVector Vector_Forward();UFUNCTIONBlueprintPureCategory=Math|Vector3D vector Unreal forward direction constant (1,0,0) |
| Vector_Backward | static FVector Vector_Backward();UFUNCTIONBlueprintPureCategory=Math|Vector3D vector Unreal backward direction constant (-1,0,0) |
| Vector_Up | static FVector Vector_Up();UFUNCTIONBlueprintPureCategory=Math|Vector3D vector Unreal up direction constant (0,0,1) |
| Vector_Down | static FVector Vector_Down();UFUNCTIONBlueprintPureCategory=Math|Vector3D vector Unreal down direction constant (0,0,-1) |
| Vector_Right | static FVector Vector_Right();UFUNCTIONBlueprintPureCategory=Math|Vector3D vector Unreal right direction constant (0,1,0) |
| Vector_Left | static FVector Vector_Left();UFUNCTIONBlueprintPureCategory=Math|Vector3D vector Unreal left direction constant (0,-1,0) |
| MakeVector | static FVector MakeVector(double X, double Y, double Z);UFUNCTIONBlueprintPureCategory=Math|VectorVector (3D) functions. Makes a vector {X, Y, Z} |
| CreateVectorFromYawPitch | static FVector CreateVectorFromYawPitch(float Yaw, float Pitch, float Length = 1.0f);UFUNCTIONBlueprintPureCategory=Math|VectorCreates a directional vector from rotation values {Pitch, Yaw} supplied in degrees with specified Length |
| Vector_Assign | static void Vector_Assign(UPARAM(ref) FVector& A, const FVector& InVector);UFUNCTIONBlueprintCallableCategory=Math|VectorAssign the values of the supplied vector. |
| Vector_Set | static void Vector_Set(UPARAM(ref) FVector& A, double X, double Y, double Z);UFUNCTIONBlueprintCallableCategory=Math|VectorSet the values of the vector directly. |
| BreakVector | static void BreakVector(FVector InVec, double& X, double& Y, double& Z);UFUNCTIONBlueprintPureCategory=Math|VectorBreaks a vector apart into X, Y, Z |
| Conv_VectorToLinearColor | static FLinearColor Conv_VectorToLinearColor(FVector InVec);UFUNCTIONBlueprintPureConverts a vector to LinearColor |
| Conv_VectorToTransform | static FTransform Conv_VectorToTransform(FVector InLocation);UFUNCTIONBlueprintPureConverts a vector to a transform. Uses vector as location |
| Conv_VectorToVector2D | static FVector2D Conv_VectorToVector2D(FVector InVector);UFUNCTIONBlueprintPureConverts a Vector to a Vector2D using the Vector's (X, Y) coordinates |
| Conv_VectorToRotator | static FRotator Conv_VectorToRotator(FVector InVec);UFUNCTIONBlueprintPureCategory=Math|ConversionsReturn the FRotator orientation corresponding to the direction in which the vector points. Sets Yaw and Pitch to the proper numbers, and sets Roll to zero because the roll can't be determined from a vector. |
| RotatorFromAxisAndAngle | static FRotator RotatorFromAxisAndAngle(FVector Axis, float Angle);UFUNCTIONBlueprintPureCategory=Math|VectorCreate a rotation from an axis and supplied angle (in degrees) |
| Conv_VectorToQuaternion | static FQuat Conv_VectorToQuaternion(FVector InVec);UFUNCTIONBlueprintPureCategory=Math|ConversionsReturn the Quaternion orientation corresponding to the direction in which the vector points. Similar to the FRotator version, returns a result without roll such that it preserves the up vector. |
| Vector_SlerpVectorToDirection | static FVector Vector_SlerpVectorToDirection(FVector Vector, FVector Direction, double Alpha);UFUNCTIONBlueprintPureCategory=Math|VectorInterpolate from a vector to the direction of another vector along a spherical path. |
| Vector_SlerpNormals | static FVector Vector_SlerpNormals(FVector NormalA, FVector NormalB, double Alpha);UFUNCTIONBlueprintPureCategory=Math|VectorInterpolate from normalized vector A to normalized vector B along a spherical path. |
| Add_VectorVector | static FVector Add_VectorVector(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorVector addition |
| Add_VectorFloat | static FVector Add_VectorFloat(FVector A, double B);UFUNCTIONBlueprintPureCategory=Math|VectorAdds a float to each component of a vector |
| Add_VectorInt | static FVector Add_VectorInt(FVector A, int32 B);UFUNCTIONBlueprintPureCategory=Math|VectorAdds an integer to each component of a vector |
| Subtract_VectorVector | static FVector Subtract_VectorVector(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorVector subtraction |
| Subtract_VectorFloat | static FVector Subtract_VectorFloat(FVector A, double B);UFUNCTIONBlueprintPureCategory=Math|VectorSubtracts a float from each component of a vector |
| Subtract_VectorInt | static FVector Subtract_VectorInt(FVector A, int32 B);UFUNCTIONBlueprintPureCategory=Math|VectorSubtracts an integer from each component of a vector |
| Multiply_VectorVector | static FVector Multiply_VectorVector(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorElement-wise Vector multiplication (Result = {A.x*B.x, A.y*B.y, A.z*B.z}) |
| Multiply_VectorFloat | static FVector Multiply_VectorFloat(FVector A, double B);UFUNCTIONBlueprintPureCategory=Math|VectorScales Vector A by B |
| Multiply_VectorInt | static FVector Multiply_VectorInt(FVector A, int32 B);UFUNCTIONBlueprintPureCategory=Math|VectorScales Vector A by B |
| Divide_VectorVector | static FVector Divide_VectorVector(FVector A, FVector B = FVector(1.f,1.f,1.f));UFUNCTIONBlueprintPureCategory=Math|VectorElement-wise Vector division (Result = {A.x/B.x, A.y/B.y, A.z/B.z}) |
| Divide_VectorFloat | static FVector Divide_VectorFloat(FVector A, double B = 1.f);UFUNCTIONBlueprintPureCategory=Math|VectorVector divide by a float |
| Divide_VectorInt | static FVector Divide_VectorInt(FVector A, int32 B = 1);UFUNCTIONBlueprintPureCategory=Math|VectorVector divide by an integer |
| NegateVector | static FVector NegateVector(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorNegate a vector. |
| EqualExactly_VectorVector | static bool EqualExactly_VectorVector(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorReturns true if vector A is equal to vector B (A == B) |
| EqualEqual_VectorVector | static bool EqualEqual_VectorVector(FVector A, FVector B, float ErrorTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|VectorReturns true if vector A is equal to vector B (A == B) within a specified error tolerance |
| NotEqualExactly_VectorVector | static bool NotEqualExactly_VectorVector(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorReturns true if vector A is not equal to vector B (A != B) |
| NotEqual_VectorVector | static bool NotEqual_VectorVector(FVector A, FVector B, float ErrorTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|VectorReturns true if vector A is not equal to vector B (A != B) within a specified error tolerance |
| Dot_VectorVector | static double Dot_VectorVector(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorReturns the dot product of two 3d vectors - see http://mathworld.wolfram.com/DotProduct.html |
| Cross_VectorVector | static FVector Cross_VectorVector(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorReturns the cross product of two 3d vectors - see http://mathworld.wolfram.com/CrossProduct.html |
| GreaterGreater_VectorRotator | static FVector GreaterGreater_VectorRotator(FVector A, FRotator B);UFUNCTIONBlueprintPureCategory=Math|VectorReturns result of vector A rotated by Rotator B |
| RotateAngleAxis | static FVector RotateAngleAxis(FVector InVect, float AngleDeg, FVector Axis);UFUNCTIONBlueprintPureCategory=Math|VectorReturns result of vector A rotated by AngleDeg around Axis |
| LessLess_VectorRotator | static FVector LessLess_VectorRotator(FVector A, FRotator B);UFUNCTIONBlueprintPureCategory=Math|VectorReturns result of vector A rotated by the inverse of Rotator B |
| Vector_UnwindEuler | static void Vector_UnwindEuler(UPARAM(ref) FVector& A);UFUNCTIONBlueprintCallableCategory=Math|VectorWhen this vector contains Euler angles (degrees), ensure that angles are between +/-180 |
| ClampVectorSize | static FVector ClampVectorSize(FVector A, double Min, double Max);UFUNCTIONBlueprintPureCategory=Math|VectorCreate a copy of this vector, with its magnitude/size/length clamped between Min and Max. |
| Vector_ClampSize2D | static FVector Vector_ClampSize2D(FVector A, double Min, double Max);UFUNCTIONBlueprintPureCategory=Math|VectorCreate a copy of this vector, with the 2D magnitude/size/length clamped between Min and Max. Z is unchanged. |
| Vector_ClampSizeMax | static FVector Vector_ClampSizeMax(FVector A, double Max);UFUNCTIONBlueprintPureCategory=Math|VectorCreate a copy of this vector, with its maximum magnitude/size/length clamped to MaxSize. |
| Vector_ClampSizeMax2D | static FVector Vector_ClampSizeMax2D(FVector A, double Max);UFUNCTIONBlueprintPureCategory=Math|VectorCreate a copy of this vector, with the maximum 2D magnitude/size/length clamped to MaxSize. Z is unchanged. |
| GetMinElement | static double GetMinElement(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorFind the minimum element (X, Y or Z) of a vector |
| GetMaxElement | static double GetMaxElement(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorFind the maximum element (X, Y or Z) of a vector |
| Vector_GetAbsMax | static double Vector_GetAbsMax(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorFind the maximum absolute element (abs(X), abs(Y) or abs(Z)) of a vector |
| Vector_GetAbsMin | static double Vector_GetAbsMin(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorFind the minimum absolute element (abs(X), abs(Y) or abs(Z)) of a vector |
| Vector_GetAbs | static FVector Vector_GetAbs(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorGet a copy of this vector with absolute value of each component. |
| Vector_ComponentMin | static FVector Vector_ComponentMin(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorFind the minimum elements (X, Y and Z) between the two vector's components |
| Vector_ComponentMax | static FVector Vector_ComponentMax(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorFind the maximum elements (X, Y and Z) between the two vector's components |
| Vector_GetSignVector | static FVector Vector_GetSignVector(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorGet a copy of the vector as sign only. Each component is set to +1 or -1, with the sign of zero treated as +1. |
| Vector_GetProjection | static FVector Vector_GetProjection(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorProjects 2D components of vector based on Z. |
| Vector_HeadingAngle | static double Vector_HeadingAngle(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorConvert a direction vector into a 'heading' angle. |
| Vector_CosineAngle2D | static double Vector_CosineAngle2D(FVector A, FVector B);UFUNCTIONBlueprintPureCategory=Math|VectorReturns the cosine of the angle between this vector and another projected onto the XY plane (no Z). |
| Vector_ToRadians | static FVector Vector_ToRadians(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorConverts a vector containing degree values to a vector containing radian values. |
| Vector_ToDegrees | static FVector Vector_ToDegrees(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorConverts a vector containing radian values to a vector containing degree values. |
| Vector_UnitCartesianToSpherical | static FVector2D Vector_UnitCartesianToSpherical(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorConverts a Cartesian unit vector into spherical coordinates on the unit sphere. |
| GetDirectionUnitVector | static FVector GetDirectionUnitVector(FVector From, FVector To);UFUNCTIONBlueprintPureCategory=Math|VectorFind the unit direction vector from one position to another or (0,0,0) if positions are the same. |
| GetYawPitchFromVector | static void GetYawPitchFromVector(FVector InVec, float& Yaw, float& Pitch);UFUNCTIONBlueprintPureCategory=Math|VectorBreaks a vector apart into Yaw, Pitch rotation values given in degrees. (non-clamped) |
| GetAzimuthAndElevation | static void GetAzimuthAndElevation(FVector InDirection, const FTransform& ReferenceFrame, float& Azimuth, float& Elevation);UFUNCTIONBlueprintPureCategory=Math|VectorBreaks a direction vector apart into Azimuth (Yaw) and Elevation (Pitch) rotation values given in degrees. (non-clamped) Relative to the provided reference frame (an Actor's WorldTransform for example) |
| GetVectorArrayAverage | static FVector GetVectorArrayAverage(const TArray<FVector>& Vectors);UFUNCTIONBlueprintPureCategory=Math|VectorFind the average of an array of vectors |
| FTruncVector | static FIntVector FTruncVector(const FVector& InVector);UFUNCTIONBlueprintPureCategory=Math|FloatRounds A to an integer with truncation towards zero for each element in a vector. (e.g. -1.7 truncated to -1, 2.8 truncated to 2) |
| FTruncVector2D | static FIntVector2 FTruncVector2D(const FVector2D& InVector2D);UFUNCTIONBlueprintPureCategory=Math|FloatRounds A to an integer with truncation towards zero for each element in a vector2D. (e.g. -1.7 truncated to -1, 2.8 truncated to 2) |
| Vector_Distance | static double Vector_Distance(FVector V1, FVector V2);UFUNCTIONBlueprintPureCategory=Math|VectorDistance between two points. |
| Vector_DistanceSquared | static double Vector_DistanceSquared(FVector V1, FVector V2);UFUNCTIONBlueprintPureCategory=Math|VectorSquared distance between two points. |
| Vector_Distance2D | static double Vector_Distance2D(FVector V1, FVector V2);UFUNCTIONBlueprintPureCategory=Math|VectorEuclidean distance between two points in the XY plane (ignoring Z). |
| Vector_Distance2DSquared | static double Vector_Distance2DSquared(FVector V1, FVector V2);UFUNCTIONBlueprintPureCategory=Math|VectorSquared euclidean distance between two points in the XY plane (ignoring Z). |
| VSize | static double VSize(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorReturns the length of the vector |
| VSizeSquared | static double VSizeSquared(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorReturns the squared length of the vector |
| VSizeXY | static double VSizeXY(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorReturns the length of the vector's XY components. |
| VSizeXYSquared | static double VSizeXYSquared(FVector A);UFUNCTIONBlueprintPureCategory=Math|VectorReturns the squared length of the vector's XY components. |
| Vector_IsNearlyZero | static bool Vector_IsNearlyZero(const FVector& A, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|VectorChecks whether vector is near to zero within a specified tolerance. |
| Vector_IsZero | static bool Vector_IsZero(const FVector& A);UFUNCTIONBlueprintPureCategory=Math|VectorChecks whether all components of the vector are exactly zero. |
| Vector_IsNAN | static bool Vector_IsNAN(const FVector& A);UFUNCTIONBlueprintPureCategory=Math|VectorDetermines if any component is not a number (NAN) |
| Vector_IsUniform | static bool Vector_IsUniform(const FVector& A, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|VectorChecks whether all components of this vector are the same, within a tolerance. |
| Vector_IsUnit | static bool Vector_IsUnit(const FVector& A, float SquaredLenthTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|VectorDetermines if vector is normalized / unit (length 1) within specified squared tolerance. |
| Vector_IsNormal | static bool Vector_IsNormal(const FVector& A);UFUNCTIONBlueprintPureCategory=Math|VectorDetermines if vector is normalized / unit (length 1). |
| Normal | static FVector Normal(FVector A, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|VectorGets a normalized unit copy of the vector, ensuring it is safe to do so based on the length. Returns zero vector if vector length is too small to safely normalize. |
| Vector_Normal2D | static FVector Vector_Normal2D(FVector A, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|VectorGets a normalized unit copy of the 2D components of the vector, ensuring it is safe to do so. Z is set to zero. Returns zero vector if vector length is too small to normalize. |
| Vector_NormalUnsafe | static FVector Vector_NormalUnsafe(const FVector& A);UFUNCTIONBlueprintPureCategory=Math|VectorCalculates normalized unit version of vector without checking for zero length. |
| Vector_Normalize | static void Vector_Normalize(UPARAM(ref) FVector& A, float Tolerance = 1.e-8f);UFUNCTIONBlueprintCallableCategory=Math|VectorNormalize this vector in-place if it is large enough or set it to (0,0,0) otherwise. |
| VLerp | static FVector VLerp(FVector A, FVector B, float Alpha);UFUNCTIONBlueprintPureCategory=Math|VectorLinearly interpolates between A and B based on Alpha (100% of A when Alpha=0 and 100% of B when Alpha=1) |
| VEase | static FVector VEase(FVector A, FVector B, float Alpha, TEnumAsByte<EEasingFunc::Type> EasingFunc, float BlendExp = 2, int32 Steps = 2);UFUNCTIONBlueprintPureCategory=Math|InterpolationEasing between A and B using a specified easing function |
| VInterpTo | static FVector VInterpTo(FVector Current, FVector Target, float DeltaTime, float InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationTries to reach Target based on distance from Current position, giving a nice smooth feeling when tracking a position. |
| VInterpTo_Constant | static FVector VInterpTo_Constant(FVector Current, FVector Target, float DeltaTime, float InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationTries to reach Target at a constant rate. |
| VectorSpringInterp | static FVector VectorSpringInterp(FVector Current, FVector Target, UPARAM(ref) FVectorSpringState& SpringState, float Stiffness, float CriticalDampingFactor, float DeltaTime, float Mass = 1.f, float TargetVelocityAmount = 1.f, bool bClamp = false, FVector MinValue = FVector(-1.f), FVector MaxValue = FVector(1.f), bool bInitializeFromTarget = false);UFUNCTIONBlueprintCallableCategory=Math|InterpolationUses a simple spring model to interpolate a vector from Current to Target. |
| QuaternionSpringInterp | static FQuat QuaternionSpringInterp(FQuat Current, FQuat Target, UPARAM(ref) FQuaternionSpringState& SpringState, float Stiffness, float CriticalDampingFactor, float DeltaTime, float Mass = 1.f, float TargetVelocityAmount = 1.f, bool bInitializeFromTarget = false);UFUNCTIONBlueprintCallableCategory=Math|InterpolationUses a simple spring model to interpolate a quaternion from Current to Target. |
| Vector_Reciprocal | static FVector Vector_Reciprocal(const FVector& A);UFUNCTIONBlueprintPureCategory=Math|VectorGets the reciprocal of this vector, avoiding division by zero. Zero components are set to BIG_NUMBER. |
| GetReflectionVector | static FVector GetReflectionVector(FVector Direction, FVector SurfaceNormal);UFUNCTIONBlueprintPureCategory=Math|VectorGiven a direction vector and a surface normal, returns the vector reflected across the surface normal. Produces a result like shining a laser at a mirror! |
| MirrorVectorByNormal | static FVector MirrorVectorByNormal(FVector InVect, FVector InNormal);UFUNCTIONBlueprintPureCategory=Math|VectorGiven a direction vector and a surface normal, returns the vector reflected across the surface normal. Produces a result like shining a laser at a mirror! |
| Vector_MirrorByPlane | static FVector Vector_MirrorByPlane(FVector A, const FPlane& InPlane);UFUNCTIONBlueprintPureCategory=Math|VectorMirrors a vector about a plane. |
| Vector_SnappedToGrid | static FVector Vector_SnappedToGrid(FVector InVect, float InGridSize);UFUNCTIONBlueprintPureCategory=Math|VectorGets a copy of this vector snapped to a grid. |
| Vector_BoundedToCube | static FVector Vector_BoundedToCube(FVector InVect, float InRadius);UFUNCTIONBlueprintPureCategory=Math|VectorGet a copy of this vector, clamped inside of an axis aligned cube centered at the origin. |
| Vector_AddBounded | static void Vector_AddBounded(UPARAM(ref) FVector& A, FVector InAddVect, float InRadius);UFUNCTIONBlueprintCallableCategory=Math|VectorAdd a vector to this and clamp the result to an axis aligned cube centered at the origin. |
| Vector_BoundedToBox | static FVector Vector_BoundedToBox(FVector InVect, FVector InBoxMin, FVector InBoxMax);UFUNCTIONBlueprintPureCategory=Math|VectorGet a copy of this vector, clamped inside of the specified axis aligned cube. |
| Vector_ProjectOnToNormal | static FVector Vector_ProjectOnToNormal(FVector V, FVector InNormal);UFUNCTIONBlueprintPureCategory=Math|VectorGets a copy of this vector projected onto the input vector, which is assumed to be unit length. |
| ProjectVectorOnToVector | static FVector ProjectVectorOnToVector(FVector V, FVector Target);UFUNCTIONBlueprintPureCategory=Math|VectorProjects one vector (V) onto another (Target) and returns the projected vector. If Target is nearly zero in length, returns the zero vector. |
| ProjectPointOnToPlane | static FVector ProjectPointOnToPlane(FVector Point, FVector PlaneBase, FVector PlaneNormal);UFUNCTIONBlueprintPureCategory=Math|VectorProjects/snaps a point onto a plane defined by a point on the plane and a plane normal. |
| ProjectVectorOnToPlane | static FVector ProjectVectorOnToPlane(FVector V, FVector PlaneNormal);UFUNCTIONBlueprintPureCategory=Math|VectorProjects a vector onto a plane defined by a normalized vector (PlaneNormal). |
| FindNearestPointsOnLineSegments | static void FindNearestPointsOnLineSegments(FVector Segment1Start, FVector Segment1End, FVector Segment2Start, FVector Segment2End, FVector& Segment1Point, FVector& Segment2Point);UFUNCTIONBlueprintPureCategory=Math|VectorFind closest points between 2 segments. |
| FindClosestPointOnSegment | static FVector FindClosestPointOnSegment(FVector Point, FVector SegmentStart, FVector SegmentEnd);UFUNCTIONBlueprintPureCategory=Math|VectorFind the closest point on a segment to a given point. |
| FindClosestPointOnLine | static FVector FindClosestPointOnLine(FVector Point, FVector LineOrigin, FVector LineDirection);UFUNCTIONBlueprintPureCategory=Math|VectorFind the closest point on an infinite line to a given point. |
| GetPointDistanceToSegment | static float GetPointDistanceToSegment(FVector Point, FVector SegmentStart, FVector SegmentEnd);UFUNCTIONBlueprintPureCategory=Math|VectorFind the distance from a point to the closest point on a segment. |
| GetPointDistanceToLine | static float GetPointDistanceToLine(FVector Point, FVector LineOrigin, FVector LineDirection);UFUNCTIONBlueprintPureCategory=Math|VectorFind the distance from a point to the closest point on an infinite line. |
| RandomUnitVector | static FVector RandomUnitVector();UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1 |
| RandomPointInBoundingBox | static FVector RandomPointInBoundingBox(const FVector Center, const FVector HalfSize);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random point within the specified bounding box using the first vector as an origin and the second as the box extents. |
| RandomPointInBoundingBox_Box | static FVector RandomPointInBoundingBox_Box(const FBox Box);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random point within the specified bounding box. |
| RandomUnitVectorInConeInRadians | static FVector RandomUnitVectorInConeInRadians(FVector ConeDir, float ConeHalfAngleInRadians);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1, within the specified cone, with uniform random distribution. |
| RandomUnitVectorInConeInDegrees | static inline FVector RandomUnitVectorInConeInDegrees(FVector ConeDir, float ConeHalfAngleInDegrees);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1, within the specified cone, with uniform random distribution. |
| RandomUnitVectorInEllipticalConeInRadians | static FVector RandomUnitVectorInEllipticalConeInRadians(FVector ConeDir, float MaxYawInRadians, float MaxPitchInRadians);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1, within the specified cone, with uniform random distribution. The shape of the cone can be modified according to the yaw and pitch angles. |
| RandomUnitVectorInEllipticalConeInDegrees | static inline FVector RandomUnitVectorInEllipticalConeInDegrees(FVector ConeDir, float MaxYawInDegrees, float MaxPitchInDegrees);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1, within the specified cone, with uniform random distribution. The shape of the cone can be modified according to the yaw and pitch angles. |
| Vector4_Zero | static FVector4 Vector4_Zero();UFUNCTIONBlueprintPureCategory=Math|Vector4Vector4 constants - exposed for scripting 4D vector zero constant (0,0,0) |
| MakeVector4 | static FVector4 MakeVector4(double X, double Y, double Z, double W);UFUNCTIONBlueprintPureCategory=Math|Vector4Vector4 functions Makes a 4D vector {X, Y, Z, W} |
| BreakVector4 | static void BreakVector4(const FVector4& InVec, double& X, double& Y, double& Z, double& W);UFUNCTIONBlueprintPureCategory=Math|Vector4Breaks a 4D vector apart into X, Y, Z, W. |
| Conv_Vector4ToVector | static FVector Conv_Vector4ToVector(const FVector4& InVector4);UFUNCTIONBlueprintPureConverts a Vector4 to a Vector (dropping the W element) |
| Conv_Vector4ToRotator | static FRotator Conv_Vector4ToRotator(const FVector4& InVec);UFUNCTIONBlueprintPureCategory=Math|ConversionsReturn the FRotator orientation corresponding to the direction in which the vector points. Sets Yaw and Pitch to the proper numbers, and sets Roll to zero because the roll can't be determined from a vector. |
| Conv_Vector4ToQuaternion | static FQuat Conv_Vector4ToQuaternion(const FVector4& InVec);UFUNCTIONBlueprintPureCategory=Math|ConversionsReturn the Quaternion orientation corresponding to the direction in which the vector points. Similar to the FRotator version, returns a result without roll such that it preserves the up vector. |
| Add_Vector4Vector4 | static FVector4 Add_Vector4Vector4(const FVector4& A, const FVector4& B);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns addition of Vector A and Vector B (A + B) |
| Subtract_Vector4Vector4 | static FVector4 Subtract_Vector4Vector4(const FVector4& A, const FVector4& B);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns subtraction of Vector B from Vector A (A - B) |
| Multiply_Vector4Vector4 | static FVector4 Multiply_Vector4Vector4(const FVector4& A, const FVector4& B);UFUNCTIONBlueprintPureCategory=Math|Vector4Element-wise Vector multiplication (Result = {A.x*B.x, A.y*B.y, A.z*B.z, A.w*B.w}) |
| Divide_Vector4Vector4 | static FVector4 Divide_Vector4Vector4(const FVector4& A, const FVector4& B);UFUNCTIONBlueprintPureCategory=Math|Vector4Element-wise Vector divide (Result = {A.x/B.x, A.y/B.y, A.z/B.z, A.w/B.w}) |
| EqualExactly_Vector4Vector4 | static bool EqualExactly_Vector4Vector4(const FVector4& A, const FVector4& B);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns true if vector A is equal to vector B (A == B) |
| EqualEqual_Vector4Vector4 | static bool EqualEqual_Vector4Vector4(const FVector4& A, const FVector4& B, float ErrorTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns true if vector A is equal to vector B (A == B) within a specified error tolerance |
| NotEqualExactly_Vector4Vector4 | static bool NotEqualExactly_Vector4Vector4(const FVector4& A, const FVector4& B);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns true if vector A is not equal to vector B (A != B) within a specified error tolerance |
| NotEqual_Vector4Vector4 | static bool NotEqual_Vector4Vector4(const FVector4& A, const FVector4& B, float ErrorTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns true if vector A is not equal to vector B (A != B) within a specified error tolerance |
| Vector4_Negated | static FVector4 Vector4_Negated(const FVector4& A);UFUNCTIONBlueprintPureCategory=Math|Vector4Gets a negated copy of the vector. Equivalent to -Vector for scripts. |
| Vector4_Assign | static void Vector4_Assign(UPARAM(ref) FVector4& A, const FVector4& InVector);UFUNCTIONBlueprintCallableCategory=Math|Vector4Assign the values of the supplied vector. |
| Vector4_Set | static void Vector4_Set(UPARAM(ref) FVector4& A, double X, double Y, double Z, double W);UFUNCTIONBlueprintCallableCategory=Math|Vector4Set the values of the vector directly. |
| Vector4_CrossProduct3 | static FVector4 Vector4_CrossProduct3(const FVector4& A, const FVector4& B);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns the cross product of two vectors - see http://mathworld.wolfram.com/CrossProduct.html |
| Vector4_DotProduct | static double Vector4_DotProduct(const FVector4& A, const FVector4& B);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns the dot product of two vectors - see http://mathworld.wolfram.com/DotProduct.html |
| Vector4_DotProduct3 | static double Vector4_DotProduct3(const FVector4& A, const FVector4& B);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns the dot product of two vectors - see http://mathworld.wolfram.com/DotProduct.html The W element is ignored. |
| Vector4_IsNAN | static bool Vector4_IsNAN(const FVector4& A);UFUNCTIONBlueprintPureCategory=Math|Vector4Determines if any component is not a number (NAN) |
| Vector4_IsNearlyZero3 | static bool Vector4_IsNearlyZero3(const FVector4& A, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|Vector4Checks whether vector is near to zero within a specified tolerance. The W element is ignored. |
| Vector4_IsZero | static bool Vector4_IsZero(const FVector4& A);UFUNCTIONBlueprintPureCategory=Math|Vector4Checks whether all components of the vector are exactly zero. |
| Vector4_Size | static double Vector4_Size(const FVector4& A);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns the length of the vector. |
| Vector4_SizeSquared | static double Vector4_SizeSquared(const FVector4& A);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns the squared length of the vector. |
| Vector4_Size3 | static double Vector4_Size3(const FVector4& A);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns the length of the vector. The W element is ignored. |
| Vector4_SizeSquared3 | static double Vector4_SizeSquared3(const FVector4& A);UFUNCTIONBlueprintPureCategory=Math|Vector4Returns the squared length of the vector. The W element is ignored. |
| Vector4_IsUnit3 | static bool Vector4_IsUnit3(const FVector4& A, float SquaredLenthTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|Vector4Determines if vector is normalized / unit (length 1) within specified squared tolerance. The W element is ignored. |
| Vector4_IsNormal3 | static bool Vector4_IsNormal3(const FVector4& A);UFUNCTIONBlueprintPureCategory=Math|Vector4Determines if vector is normalized / unit (length 1). The W element is ignored. |
| Vector4_Normal3 | static FVector4 Vector4_Normal3(const FVector4& A, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|Vector4Gets a normalized unit copy of the vector, ensuring it is safe to do so based on the length. The W element is ignored and the returned vector has W=0. Returns zero vector if vector length is too small to safely… |
| Vector4_NormalUnsafe3 | static FVector4 Vector4_NormalUnsafe3(const FVector4& A);UFUNCTIONBlueprintPureCategory=Math|Vector4Calculates normalized unit version of vector without checking for zero length. The W element is ignored and the returned vector has W=0. |
| Vector4_Normalize3 | static void Vector4_Normalize3(UPARAM(ref) FVector4& A, float Tolerance = 1.e-8f);UFUNCTIONBlueprintCallableCategory=Math|Vector4Normalize this vector in-place if it is large enough or set it to (0,0,0,0) otherwise. The W element is ignored and the returned vector has W=0. |
| Vector4_MirrorByVector3 | static FVector4 Vector4_MirrorByVector3(const FVector4& Direction, const FVector4& SurfaceNormal);UFUNCTIONBlueprintPureCategory=Math|Vector4Given a direction vector and a surface normal, returns the vector reflected across the surface normal. Produces a result like shining a laser at a mirror! The W element is ignored. |
| TransformVector4 | static FVector4 TransformVector4(const FMatrix& Matrix, const FVector4& Vec4);UFUNCTIONBlueprintPureCategory=Math|Vector4Transform the input vector4 by a provided matrix4x4 and returns the resulting vector4. |
| MakeRotator | static FRotator MakeRotator(UPARAM(DisplayName="X (Roll)") float Roll, UPARAM(DisplayName="Y (Pitch)") float Pitch, UPARAM(DisplayName="Z (Yaw)") float Yaw);UFUNCTIONBlueprintPureCategory=Math|RotatorRotator functions. Makes a rotator {Roll, Pitch, Yaw} from rotation values supplied in degrees |
| MakeRotFromX | static FRotator MakeRotFromX(const FVector& X);UFUNCTIONBlueprintPureCategory=Math|RotatorBuilds a rotator given only a XAxis. Y and Z are unspecified but will be orthonormal. XAxis need not be normalized. |
| MakeRotFromY | static FRotator MakeRotFromY(const FVector& Y);UFUNCTIONBlueprintPureCategory=Math|RotatorBuilds a rotation matrix given only a YAxis. X and Z are unspecified but will be orthonormal. YAxis need not be normalized. |
| MakeRotFromZ | static FRotator MakeRotFromZ(const FVector& Z);UFUNCTIONBlueprintPureCategory=Math|RotatorBuilds a rotation matrix given only a ZAxis. X and Y are unspecified but will be orthonormal. ZAxis need not be normalized. |
| MakeRotFromXY | static FRotator MakeRotFromXY(const FVector& X, const FVector& Y);UFUNCTIONBlueprintPureCategory=Math|RotatorBuilds a matrix with given X and Y axes. X will remain fixed, Y may be changed minimally to enforce orthogonality. Z will be computed. Inputs need not be normalized. |
| MakeRotFromXZ | static FRotator MakeRotFromXZ(const FVector& X, const FVector& Z);UFUNCTIONBlueprintPureCategory=Math|RotatorBuilds a matrix with given X and Z axes. X will remain fixed, Z may be changed minimally to enforce orthogonality. Y will be computed. Inputs need not be normalized. |
| MakeRotFromYX | static FRotator MakeRotFromYX(const FVector& Y, const FVector& X);UFUNCTIONBlueprintPureCategory=Math|RotatorBuilds a matrix with given Y and X axes. Y will remain fixed, X may be changed minimally to enforce orthogonality. Z will be computed. Inputs need not be normalized. |
| MakeRotFromYZ | static FRotator MakeRotFromYZ(const FVector& Y, const FVector& Z);UFUNCTIONBlueprintPureCategory=Math|RotatorBuilds a matrix with given Y and Z axes. Y will remain fixed, Z may be changed minimally to enforce orthogonality. X will be computed. Inputs need not be normalized. |
| MakeRotFromZX | static FRotator MakeRotFromZX(const FVector& Z, const FVector& X);UFUNCTIONBlueprintPureCategory=Math|RotatorBuilds a matrix with given Z and X axes. Z will remain fixed, X may be changed minimally to enforce orthogonality. Y will be computed. Inputs need not be normalized. |
| MakeRotFromZY | static FRotator MakeRotFromZY(const FVector& Z, const FVector& Y);UFUNCTIONBlueprintPureCategory=Math|RotatorBuilds a matrix with given Z and Y axes. Z will remain fixed, Y may be changed minimally to enforce orthogonality. X will be computed. Inputs need not be normalized. |
| MakeRotationFromAxes | static FRotator MakeRotationFromAxes(FVector Forward, FVector Right, FVector Up);UFUNCTIONBlueprintPureCategory=Math|RotatorBuild a reference frame from three axes |
| FindLookAtRotation | static FRotator FindLookAtRotation(const FVector& Start, const FVector& Target);UFUNCTIONBlueprintPureCategory=Math|RotatorFind a rotation for an object at Start location to point at Target location. |
| FindRelativeLookAtRotation | static FRotator FindRelativeLookAtRotation(const FTransform& StartTransform, const FVector& TargetLocation);UFUNCTIONBlueprintPureCategory=Math|RotatorFind a local rotation (range of [-180, 180]) for an object with StartTransform to point at TargetLocation. Useful for getting LookAt Azimuth or Pawn Aim Offset. |
| BreakRotator | static void BreakRotator(UPARAM(DisplayName="Rotation") FRotator InRot, UPARAM(DisplayName="X (Roll)") float& Roll, UPARAM(DisplayName="Y (Pitch)") float& Pitch, UPARAM(DisplayName="Z (Yaw)") float& Yaw);UFUNCTIONBlueprintPureCategory=Math|RotatorBreaks apart a rotator into {Roll, Pitch, Yaw} angles in degrees |
| BreakRotIntoAxes | static void BreakRotIntoAxes(const FRotator& InRot, FVector& X, FVector& Y, FVector& Z);UFUNCTIONBlueprintPureCategory=Math|RotatorBreaks apart a rotator into its component axes |
| EqualEqual_RotatorRotator | static bool EqualEqual_RotatorRotator(FRotator A, FRotator B, float ErrorTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|RotatorReturns true if rotator A is equal to rotator B (A == B) within a specified error tolerance |
| NotEqual_RotatorRotator | static bool NotEqual_RotatorRotator(FRotator A, FRotator B, float ErrorTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|RotatorReturns true if rotator A is not equal to rotator B (A != B) within a specified error tolerance |
| Multiply_RotatorFloat | static FRotator Multiply_RotatorFloat(FRotator A, float B);UFUNCTIONBlueprintPureCategory=Math|RotatorReturns rotator representing rotator A scaled by B |
| Multiply_RotatorInt | static FRotator Multiply_RotatorInt(FRotator A, int32 B);UFUNCTIONBlueprintPureCategory=Math|RotatorReturns rotator representing rotator A scaled by B |
| ComposeRotators | static FRotator ComposeRotators(FRotator A, FRotator B);UFUNCTIONBlueprintPureCategory=Math|RotatorCombine 2 rotations to give you the resulting rotation of first applying A, then B. |
| NegateRotator | static FRotator NegateRotator(FRotator A);UFUNCTIONBlueprintPureCategory=Math|RotatorNegate a rotator |
| GetForwardVector | static FVector GetForwardVector(FRotator InRot);UFUNCTIONBlueprintPureCategory=Math|VectorRotate the world forward vector by the given rotation |
| GetRightVector | static FVector GetRightVector(FRotator InRot);UFUNCTIONBlueprintPureCategory=Math|VectorRotate the world right vector by the given rotation |
| GetUpVector | static FVector GetUpVector(FRotator InRot);UFUNCTIONBlueprintPureCategory=Math|VectorRotate the world up vector by the given rotation |
| Conv_RotatorToVector | static FVector Conv_RotatorToVector(FRotator InRot);UFUNCTIONBlueprintPureCategory=Math|RotatorGet the X direction vector after this rotation |
| Conv_RotatorToTransform | static FTransform Conv_RotatorToTransform(const FRotator& InRotator);UFUNCTIONBlueprintPureConverts Rotator to Transform |
| GetAxes | static void GetAxes(FRotator A, FVector& X, FVector& Y, FVector& Z);UFUNCTIONBlueprintPureCategory=Math|RotatorGet the reference frame direction vectors (axes) described by this rotation |
| RandomRotator | static FRotator RandomRotator(bool bRoll = false);UFUNCTIONBlueprintPureCategory=Math|RandomGenerates a random rotation, with optional random roll. |
| RLerp | static FRotator RLerp(FRotator A, FRotator B, float Alpha, bool bShortestPath);UFUNCTIONBlueprintPureCategory=Math|RotatorLinearly interpolates between A and B based on Alpha (100% of A when Alpha=0 and 100% of B when Alpha=1) |
| REase | static FRotator REase(FRotator A, FRotator B, float Alpha, bool bShortestPath, TEnumAsByte<EEasingFunc::Type> EasingFunc, float BlendExp = 2, int32 Steps = 2);UFUNCTIONBlueprintPureCategory=Math|InterpolationEasing between A and B using a specified easing function |
| NormalizedDeltaRotator | static FRotator NormalizedDeltaRotator(FRotator A, FRotator B);UFUNCTIONBlueprintPureCategory=Math|RotatorNormalized A-B |
| ClampAxis | static float ClampAxis(float Angle);UFUNCTIONBlueprintPureCategory=Math|RotatorClamps an angle to the range of [0, 360]. |
| NormalizeAxis | static float NormalizeAxis(float Angle);UFUNCTIONBlueprintPureCategory=Math|RotatorClamps an angle to the range of [-180, 180]. |
| Conv_MatrixToTransform | static FTransform Conv_MatrixToTransform(const FMatrix& InMatrix);UFUNCTIONBlueprintPureMatrix functions Converts a Matrix to a Transform (Assumes Matrix represents a transform) |
| Conv_MatrixToRotator | static FRotator Conv_MatrixToRotator(const FMatrix& InMatrix);UFUNCTIONBlueprintPureConverts a Matrix to a Rotator (Assumes Matrix represents a transform) |
| Matrix_GetOrigin | static FVector Matrix_GetOrigin(const FMatrix& InMatrix);UFUNCTIONBlueprintPureCategory=Math|MatrixGet the origin of the co-ordinate system (Assumes Matrix represents a transform) |
| Matrix_Identity | static FMatrix Matrix_Identity();UFUNCTIONBlueprintPureCategory=Math|MatrixIdentity matrix |
| Multiply_MatrixMatrix | static FMatrix Multiply_MatrixMatrix (const FMatrix& A, const FMatrix& B);UFUNCTIONBlueprintPureCategory=Math|MatrixGets the result of multiplying a Matrix to this. |
| Add_MatrixMatrix | static FMatrix Add_MatrixMatrix (const FMatrix& A, const FMatrix& B);UFUNCTIONBlueprintPureCategory=Math|MatrixGets the result of adding a matrix to this. |
| Multiply_MatrixFloat | static FMatrix Multiply_MatrixFloat (const FMatrix& A, double B);UFUNCTIONBlueprintPureCategory=Math|MatrixMultiplies all values of the matrix by a float. If your Matrix represents a Transform that you wish to scale you should use Apply Scale instead |
| EqualEqual_MatrixMatrix | static bool EqualEqual_MatrixMatrix(const FMatrix& A, const FMatrix& B, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|MatrixChecks whether another Matrix is equal to this, within specified tolerance. |
| NotEqual_MatrixMatrix | static bool NotEqual_MatrixMatrix(const FMatrix& A, const FMatrix& B, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|MatrixChecks whether another Matrix is not equal to this, within specified tolerance. |
| Matrix_TransformVector4 | static FVector4 Matrix_TransformVector4(const FMatrix& M, FVector4 V);UFUNCTIONBlueprintPureCategory=Math|MatrixTransform a vector by the matrix. (Assumes Matrix represents a transform) |
| Matrix_TransformPosition | static FVector4 Matrix_TransformPosition(const FMatrix& M, FVector V);UFUNCTIONBlueprintPureCategory=Math|MatrixTransform a location - will take into account translation part of the FMatrix. (Assumes Matrix represents a transform) |
| Matrix_InverseTransformPosition | static FVector Matrix_InverseTransformPosition(const FMatrix& M, FVector V);UFUNCTIONBlueprintPureCategory=Math|MatrixInverts the matrix and then transforms V - correctly handles scaling in this matrix. (Assumes Matrix represents a transform) |
| Matrix_TransformVector | static FVector4 Matrix_TransformVector(const FMatrix& M, FVector V);UFUNCTIONBlueprintPureCategory=Math|MatrixTransform a direction vector - will not take into account translation part of the FMatrix. If you want to transform a surface normal (or plane) and correctly account for non-uniform scaling you should use… |
| Matrix_InverseTransformVector | static FVector Matrix_InverseTransformVector(const FMatrix& M, FVector V);UFUNCTIONBlueprintPureCategory=Math|MatrixTransform a direction vector by the inverse of this matrix - will not take into account translation part. If you want to transform a surface normal (or plane) and correctly account for non-uniform scaling you should… |
| Matrix_GetTransposed | static FMatrix Matrix_GetTransposed(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|MatrixTranspose. |
| Matrix_GetDeterminant | static float Matrix_GetDeterminant(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|Matrix |
| Matrix_GetRotDeterminant | static float Matrix_GetRotDeterminant(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|Matrix |
| Matrix_GetInverse | static FMatrix Matrix_GetInverse(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|MatrixGet the inverse of the Matrix. Handles nil matrices. |
| Matrix_GetTransposeAdjoint | static FMatrix Matrix_GetTransposeAdjoint(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|MatrixGet the Transose Adjoint of the Matrix. |
| Matrix_RemoveScaling | static void Matrix_RemoveScaling(UPARAM(Ref) FMatrix& M, float Tolerance = 1.e-8f);UFUNCTIONBlueprintCallableCategory=Math|MatrixRemove any scaling from this matrix (ie magnitude of each row is 1) with error Tolerance (Assumes Matrix represents a transform) |
| Matrix_GetMatrixWithoutScale | static FMatrix Matrix_GetMatrixWithoutScale(const FMatrix& M, float Tolerance = 1.e-8f);UFUNCTIONBlueprintPureCategory=Math|MatrixReturns matrix after RemoveScaling with error Tolerance (Assumes Matrix represents a transform) |
| Matrix_GetScaleVector | static FVector Matrix_GetScaleVector(const FMatrix& M, float Tolerance = 1.e-8f);UFUNCTIONBlueprintPureCategory=Math|Matrixreturn a 3D scale vector calculated from this matrix (where each component is the magnitude of a row vector) with error Tolerance. (Assumes Matrix represents a transform) |
| Matrix_RemoveTranslation | static FMatrix Matrix_RemoveTranslation(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|MatrixRemove any translation from this matrix (Assumes Matrix represents a transform) |
| Matrix_ConcatenateTranslation | static FMatrix Matrix_ConcatenateTranslation(const FMatrix& M, FVector Translation);UFUNCTIONBlueprintPureCategory=Math|MatrixReturns a matrix with an additional translation concatenated. (Assumes Matrix represents a transform) |
| Matrix_ContainsNaN | static bool Matrix_ContainsNaN(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|MatrixReturns true if any element of this matrix is NaN |
| Matrix_ScaleTranslation | static FMatrix Matrix_ScaleTranslation(const FMatrix& M, FVector Scale3D);UFUNCTIONBlueprintPureCategory=Math|MatrixScale the translation part of the matrix by the supplied vector. (Assumes Matrix represents a transform) |
| Matrix_GetMaximumAxisScale | static float Matrix_GetMaximumAxisScale(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|Matrix |
| Matrix_ApplyScale | static FMatrix Matrix_ApplyScale(const FMatrix& M, float Scale);UFUNCTIONBlueprintPureCategory=Math|MatrixApply Scale to this matrix (Assumes Matrix represents a transform) |
| Matrix_GetScaledAxis | static FVector Matrix_GetScaledAxis(const FMatrix& M, TEnumAsByte<EAxis::Type> Axis);UFUNCTIONBlueprintPureCategory=Math|Matrixget axis of this matrix scaled by the scale of the matrix (Assumes Matrix represents a transform) |
| Matrix_GetScaledAxes | static void Matrix_GetScaledAxes(const FMatrix& M, FVector &X, FVector &Y, FVector &Z);UFUNCTIONBlueprintPureCategory=Math|Matrixget axes of this matrix scaled by the scale of the matrix (Assumes Matrix represents a transform) |
| Matrix_GetUnitAxis | static FVector Matrix_GetUnitAxis(const FMatrix& M, TEnumAsByte<EAxis::Type> Axis);UFUNCTIONBlueprintPureCategory=Math|Matrixget unit length axis of this matrix (Assumes Matrix represents a transform) |
| Matrix_GetUnitAxes | static void Matrix_GetUnitAxes(const FMatrix& M, FVector &X, FVector &Y, FVector &Z);UFUNCTIONBlueprintPureCategory=Math|Matrixget unit length axes of this matrix (Assumes Matrix represents a transform) |
| Matrix_SetAxis | static void Matrix_SetAxis(UPARAM(Ref) FMatrix& M, TEnumAsByte<EAxis::Type> Axis, FVector AxisVector);UFUNCTIONBlueprintCallableCategory=Math|Matrixset an axis of this matrix (Assumes Matrix represents a transform) |
| Matrix_SetOrigin | static void Matrix_SetOrigin(UPARAM(Ref) FMatrix& M, FVector NewOrigin);UFUNCTIONBlueprintCallableCategory=Math|MatrixSet the origin of the coordinate system to the given vector (Assumes Matrix represents a transform) |
| Matrix_GetColumn | static FVector Matrix_GetColumn(const FMatrix& M, TEnumAsByte<EMatrixColumns::Type> Column);UFUNCTIONBlueprintPureCategory=Math|Matrixget a column of this matrix |
| Matrix_SetColumn | static void Matrix_SetColumn(UPARAM(Ref) FMatrix& M, TEnumAsByte<EMatrixColumns::Type> Column, FVector Value);UFUNCTIONBlueprintCallableCategory=Math|Matrix |
| Matrix_GetRotator | static FRotator Matrix_GetRotator(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|MatrixGet the rotator representation of this matrix (Assumes Matrix represents a transform) |
| Matrix_ToQuat | static FQuat Matrix_ToQuat(const FMatrix& M);UFUNCTIONBlueprintPureCategory=Math|MatrixTransform a rotation matrix into a quaternion. (Assumes Matrix represents a transform) |
| Matrix_GetFrustumNearPlane | static bool Matrix_GetFrustumNearPlane(const FMatrix& M, FPlane& OutPlane);UFUNCTIONBlueprintPureCategory=Math|MatrixFrustum plane extraction. Get the near plane of the Frustum of this matrix (Assumes Matrix represents a View Projection Matrix) |
| Matrix_GetFrustumFarPlane | static bool Matrix_GetFrustumFarPlane(const FMatrix& M, FPlane& OutPlane);UFUNCTIONBlueprintPureCategory=Math|MatrixGet the far plane of the Frustum of this matrix (Assumes Matrix represents a View Projection Matrix) |
| Matrix_GetFrustumLeftPlane | static bool Matrix_GetFrustumLeftPlane(const FMatrix& M, FPlane& OutPlane);UFUNCTIONBlueprintPureCategory=Math|MatrixGet the left plane of the Frustum of this matrix (Assumes Matrix represents a View Projection Matrix) |
| Matrix_GetFrustumRightPlane | static bool Matrix_GetFrustumRightPlane(const FMatrix& M, FPlane& OutPlane);UFUNCTIONBlueprintPureCategory=Math|MatrixGet the right plane of the Frustum of this matrix (Assumes Matrix represents a View Projection Matrix) |
| Matrix_GetFrustumTopPlane | static bool Matrix_GetFrustumTopPlane(const FMatrix& M, FPlane& OutPlane);UFUNCTIONBlueprintPureCategory=Math|MatrixGet the top plane of the Frustum of this matrix (Assumes Matrix represents a View Projection Matrix) |
| Matrix_GetFrustumBottomPlane | static bool Matrix_GetFrustumBottomPlane(const FMatrix& M, FPlane& OutPlane);UFUNCTIONBlueprintPureCategory=Math|MatrixGet the bottom plane of the Frustum of this matrix (Assumes Matrix represents a View Projection Matrix) |
| Matrix_Mirror | static FMatrix Matrix_Mirror(const FMatrix& M, TEnumAsByte<EAxis::Type> MirrorAxis, TEnumAsByte<EAxis::Type> FlipAxis);UFUNCTIONBlueprintPureCategory=Math|MatrixUtility for mirroring this transform across a certain plane, and flipping one of the axis as well. (Assumes Matrix represents a transform) |
| Quat_Identity | static FQuat Quat_Identity();UFUNCTIONBlueprintPureCategory=Math|QuatQuat constants - exposed for scripting Identity quaternion constant |
| EqualEqual_QuatQuat | static bool EqualEqual_QuatQuat(const FQuat& A, const FQuat& B, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|QuatQuat functions Returns true if Quaternion A is equal to Quaternion B (A == B) within a specified error tolerance |
| NotEqual_QuatQuat | static bool NotEqual_QuatQuat(const FQuat& A, const FQuat& B, float ErrorTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|QuatReturns true if Quat A is not equal to Quat B (A != B) within a specified error tolerance |
| Add_QuatQuat | static FQuat Add_QuatQuat(const FQuat& A, const FQuat& B);UFUNCTIONBlueprintPureCategory=Math|QuatReturns addition of Vector A and Vector B (A + B) |
| Subtract_QuatQuat | static FQuat Subtract_QuatQuat(const FQuat& A, const FQuat& B);UFUNCTIONBlueprintPureCategory=Math|QuatReturns subtraction of Vector B from Vector A (A - B) |
| MakeQuat | static FQuat MakeQuat(float X, float Y, float Z, float W);UFUNCTIONBlueprintPureCategory=Math|QuatMakes a quat {X, Y, Z, W} |
| BreakQuat | static void BreakQuat(const FQuat& InQuat, float& X, float& Y, float& Z, float& W);UFUNCTIONBlueprintPureCategory=Math|QuatBreaks a quat apart into X, Y, Z, W |
| Multiply_QuatQuat | static FQuat Multiply_QuatQuat(const FQuat& A, const FQuat& B);UFUNCTIONBlueprintPureCategory=Math|QuatGets the result of multiplying two quaternions (A * B). |
| Quat_IsIdentity | static bool Quat_IsIdentity(const FQuat& Q, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|QuatChecks whether this Quaternion is an Identity Quaternion. Assumes Quaternion tested is normalized. |
| Quat_IsNormalized | static bool Quat_IsNormalized(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatReturn true if this quaternion is normalized |
| Quat_IsFinite | static bool Quat_IsFinite(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatDetermine if all the values are finite (not NaN nor Inf) in this Quat. |
| Quat_IsNonFinite | static bool Quat_IsNonFinite(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatDetermine if there are any non-finite values (NaN or Inf) in this Quat. |
| Quat_AngularDistance | static float Quat_AngularDistance(const FQuat& A, const FQuat& B);UFUNCTIONBlueprintPureCategory=Math|QuatFind the angular distance/difference between two rotation quaternions. |
| Quat_EnforceShortestArcWith | static void Quat_EnforceShortestArcWith(UPARAM(ref) FQuat& A, const FQuat& B);UFUNCTIONBlueprintCallableCategory=Math|QuatModify the quaternion to ensure that the delta between it and B represents the shortest possible rotation angle. |
| Quat_Euler | static FVector Quat_Euler(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatConvert a Quaternion into floating-point Euler angles (in degrees). |
| Quat_Exp | static FQuat Quat_Exp(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatUsed in combination with Log(). Assumes a quaternion with W=0 and V=theta*v (where |v| = 1). Exp(q) = (sin(theta)*v, cos(theta)) |
| Quat_GetAngle | static float Quat_GetAngle(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the angle of this quaternion |
| Quat_GetAxisX | static FVector Quat_GetAxisX(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the forward direction (X axis) after it has been rotated by this Quaternion. |
| Quat_GetAxisY | static FVector Quat_GetAxisY(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the right direction (Y axis) after it has been rotated by this Quaternion. |
| Quat_GetAxisZ | static FVector Quat_GetAxisZ(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the up direction (Z axis) after it has been rotated by this Quaternion. |
| Quat_VectorForward | static FVector Quat_VectorForward(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the forward direction (X axis) after it has been rotated by this Quaternion. |
| Quat_VectorRight | static FVector Quat_VectorRight(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the right direction (Y axis) after it has been rotated by this Quaternion. |
| Quat_VectorUp | static FVector Quat_VectorUp(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the up direction (Z axis) after it has been rotated by this Quaternion. |
| Quat_Normalize | static void Quat_Normalize(UPARAM(ref) FQuat& Q, float Tolerance = 1.e-4f);UFUNCTIONBlueprintCallableCategory=Math|QuatNormalize this quaternion if it is large enough as compared to the supplied tolerance. If it is too small then set it to the identity quaternion. |
| Quat_Normalized | static FQuat Quat_Normalized(const FQuat& Q, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|QuatGet a normalized copy of this quaternion. If it is too small, returns an identity quaternion. |
| Quat_GetRotationAxis | static FVector Quat_GetRotationAxis(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the axis of rotation of the Quaternion. This is the axis around which rotation occurs to transform the canonical coordinate system to the target orientation. For the identity Quaternion which has no such… |
| Quat_Inversed | static FQuat Quat_Inversed(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatReturn an inversed copy of this quaternion. |
| Quat_Log | static FQuat Quat_Log(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatQuaternion with W=0 and V=theta*v. Used in combination with Exp(). |
| Quat_SetComponents | static void Quat_SetComponents(UPARAM(ref) FQuat& Q, float X, float Y, float Z, float W);UFUNCTIONBlueprintCallableCategory=Math|QuatSet X, Y, Z, W components of Quaternion. |
| Quat_SetFromEuler | static void Quat_SetFromEuler(UPARAM(ref) FQuat& Q, const FVector& Euler);UFUNCTIONBlueprintCallableCategory=Math|QuatConvert a vector of floating-point Euler angles (in degrees) into a Quaternion. |
| Quat_MakeFromEuler | static FQuat Quat_MakeFromEuler(const FVector& Euler);UFUNCTIONBlueprintPureCategory=Math|QuatConvert a vector of floating-point Euler angles (in degrees) into a Quaternion. |
| Quat_Rotator | static FRotator Quat_Rotator(const FQuat& Q);UFUNCTIONBlueprintPureConverts to Rotator representation of this Quaternion. |
| Conv_RotatorToQuaternion | static FQuat Conv_RotatorToQuaternion(FRotator InRot);UFUNCTIONBlueprintPureConverts to Quaternion representation of this Rotator. |
| Quat_Size | static float Quat_Size(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the length of the quaternion. |
| Quat_SizeSquared | static float Quat_SizeSquared(const FQuat& Q);UFUNCTIONBlueprintPureCategory=Math|QuatGet the squared length of the quaternion. |
| Quat_RotateVector | static FVector Quat_RotateVector(const FQuat& Q, const FVector& V);UFUNCTIONBlueprintPureCategory=Math|QuatRotate a vector by this quaternion. |
| Quat_UnrotateVector | static FVector Quat_UnrotateVector(const FQuat& Q, const FVector& V);UFUNCTIONBlueprintPureCategory=Math|QuatRotate a vector by the inverse of this quaternion. |
| Quat_Slerp | static FQuat Quat_Slerp(const FQuat& A, const FQuat& B, double Alpha);UFUNCTIONBlueprintPureCategory=Math|QuatSpherical interpolation between Quaternions. Result is normalized. |
| Quat_FindBetweenVectors | static FQuat Quat_FindBetweenVectors(FVector Start, FVector End);UFUNCTIONBlueprintPureCategory=Math|QuatGenerates the 'smallest' (geodesic) rotation around a sphere between two vectors of arbitrary length. |
| Quat_FindBetweenNormals | static FQuat Quat_FindBetweenNormals(FVector StartNormal, FVector EndNormal);UFUNCTIONBlueprintPureCategory=Math|QuatGenerates the 'smallest' (geodesic) rotation around a sphere between two normals (assumed to be unit length). |
| LinearColor_White | static FLinearColor LinearColor_White();UFUNCTIONBlueprintPureCategory=Math|ColorLinearColor constants - exposed for scripting White linear color |
| LinearColor_Gray | static FLinearColor LinearColor_Gray();UFUNCTIONBlueprintPureCategory=Math|ColorGrey linear color |
| LinearColor_Black | static FLinearColor LinearColor_Black();UFUNCTIONBlueprintPureCategory=Math|ColorBlack linear color |
| LinearColor_Red | static FLinearColor LinearColor_Red();UFUNCTIONBlueprintPureCategory=Math|ColorRed linear color |
| LinearColor_Green | static FLinearColor LinearColor_Green();UFUNCTIONBlueprintPureCategory=Math|ColorGreen linear color |
| LinearColor_Blue | static FLinearColor LinearColor_Blue();UFUNCTIONBlueprintPureCategory=Math|ColorBlue linear color |
| LinearColor_Yellow | static FLinearColor LinearColor_Yellow();UFUNCTIONBlueprintPureCategory=Math|ColorYellow linear color |
| LinearColor_Transparent | static FLinearColor LinearColor_Transparent();UFUNCTIONBlueprintPureCategory=Math|ColorTransparent linear color - black with 0 opacity/alpha |
| MakeColor | static FLinearColor MakeColor(float R, float G, float B, float A = 1.0f);UFUNCTIONBlueprintPureCategory=Math|ColorLinearColor functions Make a color from individual color components (RGB space) |
| BreakColor | static void BreakColor(FLinearColor InColor, float& R, float& G, float& B, float& A);UFUNCTIONBlueprintPureCategory=Math|ColorBreaks apart a color into individual RGB components (as well as alpha) |
| LinearColor_Set | static void LinearColor_Set(UPARAM(ref) FLinearColor& InOutColor, FLinearColor InColor);UFUNCTIONBlueprintCallableCategory=Math|ColorAssign contents of InColor |
| LinearColor_SetRGBA | static void LinearColor_SetRGBA(UPARAM(ref) FLinearColor& InOutColor, float R, float G, float B, float A = 1.0f);UFUNCTIONBlueprintCallableCategory=Math|ColorAssign individual linear RGBA components. |
| LinearColor_SetFromHSV | static void LinearColor_SetFromHSV(UPARAM(ref) FLinearColor& InOutColor, float H, float S, float V, float A = 1.0f);UFUNCTIONBlueprintCallableCategory=Math|ColorAssigns an HSV color to a linear space RGB color |
| LinearColor_SetFromSRGB | static void LinearColor_SetFromSRGB(UPARAM(ref) FLinearColor& InOutColor, const FColor& InSRGB);UFUNCTIONBlueprintCallableCategory=Math|ColorAssigns an FColor coming from an observed sRGB output, into a linear color. |
| LinearColor_SetFromPow22 | static void LinearColor_SetFromPow22(UPARAM(ref) FLinearColor& InOutColor, const FColor& InColor);UFUNCTIONBlueprintCallableCategory=Math|ColorAssigns an FColor coming from an observed Pow(1/2.2) output, into a linear color. |
| LinearColor_SetTemperature | static void LinearColor_SetTemperature(UPARAM(ref) FLinearColor& InOutColor, float InTemperature);UFUNCTIONBlueprintCallableCategory=Math|ColorConverts temperature in Kelvins of a black body radiator to RGB chromaticity. |
| LinearColor_SetRandomHue | static void LinearColor_SetRandomHue(UPARAM(ref) FLinearColor& InOutColor);UFUNCTIONBlueprintCallableCategory=Math|ColorSets to a random color. Choses a quite nice color based on a random hue. |
| Conv_DoubleToLinearColor | static FLinearColor Conv_DoubleToLinearColor(double InDouble);UFUNCTIONBlueprintPureConverts a float into a LinearColor, where each RGB element is that float |
| HSVToRGB | static FLinearColor HSVToRGB(float H, float S, float V, float A = 1.0f);UFUNCTIONBlueprintPureCategory=Math|ColorMake a color from individual color components (HSV space; Hue is [0..360) while Saturation and Value are 0..1) |
| HSVToRGB_Vector | static void HSVToRGB_Vector(FLinearColor HSV, FLinearColor& RGB);UFUNCTIONBlueprintPureCategory=Math|ColorConverts a HSV linear color (where H is in R (0..360), S is in G (0..1), and V is in B (0..1)) to RGB |
| HSVToRGBLinear | static FLinearColor HSVToRGBLinear(FLinearColor HSV);UFUNCTIONBlueprintPureCategory=Math|ColorConverts a HSV linear color (where H is in R, S is in G, and V is in B) to linear RGB |
| RGBToHSV | static void RGBToHSV(FLinearColor InColor, float& H, float& S, float& V, float& A);UFUNCTIONBlueprintPureCategory=Math|ColorBreaks apart a color into individual HSV components (as well as alpha) (Hue is [0..360) while Saturation and Value are 0..1) |
| RGBToHSV_Vector | static void RGBToHSV_Vector(FLinearColor RGB, FLinearColor& HSV);UFUNCTIONBlueprintPureCategory=Math|ColorConverts a RGB linear color to HSV (where H is in R (0..360), S is in G (0..1), and V is in B (0..1)) |
| RGBLinearToHSV | static FLinearColor RGBLinearToHSV(FLinearColor RGB);UFUNCTIONBlueprintPureCategory=Math|ColorConverts a RGB linear color to HSV (where H is in R, S is in G, and V is in B) |
| Conv_LinearColorToVector | static FVector Conv_LinearColorToVector(FLinearColor InLinearColor);UFUNCTIONBlueprintPureConverts a LinearColor to a vector |
| LinearColor_ToRGBE | static FColor LinearColor_ToRGBE(FLinearColor InLinearColor);UFUNCTIONBlueprintPureCategory=Math|ColorConverts from linear to 8-bit RGBE as outlined in Gregory Ward's Real Pixels article, Graphics Gems II, page 80. |
| Conv_LinearColorToColor | static FColor Conv_LinearColorToColor(FLinearColor InLinearColor, bool InUseSRGB = true);UFUNCTIONBlueprintPureQuantizes the linear color and returns the result as a FColor with optional sRGB conversion and quality as goal. |
| LinearColor_QuantizeRound | static FColor LinearColor_QuantizeRound(FLinearColor InColor);UFUNCTIONBlueprintPureCategory=Math|ColorQuantizes the linear color with rounding and returns the result as an 8-bit color. This bypasses the SRGB conversion. |
| LinearColor_Desaturated | static FLinearColor LinearColor_Desaturated(FLinearColor InColor, float InDesaturation);UFUNCTIONBlueprintPureCategory=Math|ColorReturns a desaturated color, with 0 meaning no desaturation and 1 == full desaturation |
| LinearColor_Distance | static float LinearColor_Distance(FLinearColor C1, FLinearColor C2);UFUNCTIONBlueprintPureCategory=Math|ColorEuclidean distance between two color points. |
| LinearColor_ToNewOpacity | static FLinearColor LinearColor_ToNewOpacity(FLinearColor InColor, float InOpacity);UFUNCTIONBlueprintPureCategory=Math|ColorReturns a copy of this color using the specified opacity/alpha. |
| LinearColor_GetLuminance | static float LinearColor_GetLuminance(FLinearColor InColor);UFUNCTIONBlueprintPureCategory=Math|ColorReturns the perceived brightness of a color on a display taking into account the impact on the human eye per color channel: green > red > blue. |
| LinearColor_GetMax | static float LinearColor_GetMax(FLinearColor InColor);UFUNCTIONBlueprintPureCategory=Math|ColorReturns the maximum color channel value in this color structure |
| LinearColor_GetMin | static float LinearColor_GetMin(FLinearColor InColor);UFUNCTIONBlueprintPureCategory=Math|ColorReturns the minimum color channel value in this color structure |
| CInterpTo | static FLinearColor CInterpTo(FLinearColor Current, FLinearColor Target, float DeltaTime, float InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationInterpolate Linear Color from Current to Target. Scaled by distance to Target, so it has a strong start speed and ease out. |
| LinearColorLerp | static FLinearColor LinearColorLerp(FLinearColor A, FLinearColor B, float Alpha);UFUNCTIONBlueprintPureCategory=Math|ColorLinearly interpolates between A and B based on Alpha (100% of A when Alpha=0 and 100% of B when Alpha=1) |
| LinearColorLerpUsingHSV | static FLinearColor LinearColorLerpUsingHSV(FLinearColor A, FLinearColor B, float Alpha);UFUNCTIONBlueprintPureCategory=Math|ColorLinearly interpolates between two colors by the specified Alpha amount (100% of A when Alpha=0 and 100% of B when Alpha=1). The interpolation is performed in HSV color space taking the shortest path to the new… |
| LinearColor_IsNearEqual | static bool LinearColor_IsNearEqual(FLinearColor A, FLinearColor B, float Tolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|ColorReturns true if linear color A is equal to linear color B (A == B) within a specified error tolerance |
| EqualEqual_LinearColorLinearColor | static bool EqualEqual_LinearColorLinearColor(FLinearColor A, FLinearColor B);UFUNCTIONBlueprintPureCategory=Math|ColorReturns true if linear color A is equal to linear color B (A == B) within a specified error tolerance |
| NotEqual_LinearColorLinearColor | static bool NotEqual_LinearColorLinearColor(FLinearColor A, FLinearColor B);UFUNCTIONBlueprintPureCategory=Math|ColorReturns true if linear color A is not equal to linear color B (A != B) within a specified error tolerance |
| Add_LinearColorLinearColor | static FLinearColor Add_LinearColorLinearColor(FLinearColor A, FLinearColor B);UFUNCTIONBlueprintPureCategory=Math|ColorElement-wise addition of two linear colors (R+R, G+G, B+B, A+A) |
| Subtract_LinearColorLinearColor | static FLinearColor Subtract_LinearColorLinearColor(FLinearColor A, FLinearColor B);UFUNCTIONBlueprintPureCategory=Math|ColorElement-wise subtraction of two linear colors (R-R, G-G, B-B, A-A) |
| Multiply_LinearColorLinearColor | static FLinearColor Multiply_LinearColorLinearColor(FLinearColor A, FLinearColor B);UFUNCTIONBlueprintPureCategory=Math|ColorElement-wise multiplication of two linear colors (R*R, G*G, B*B, A*A) |
| Multiply_LinearColorFloat | static FLinearColor Multiply_LinearColorFloat(FLinearColor A, float B);UFUNCTIONBlueprintPureCategory=Math|ColorElement-wise multiplication of a linear color by a float (F*R, F*G, F*B, F*A) |
| Divide_LinearColorLinearColor | static FLinearColor Divide_LinearColorLinearColor(FLinearColor A, FLinearColor B);UFUNCTIONBlueprintPureCategory=Math|ColorElement-wise multiplication of two linear colors (R/R, G/G, B/B, A/A) |
| ToHex_LinearColor | static FString ToHex_LinearColor(FLinearColor InColor);UFUNCTIONBlueprintPureCategory=Math|ColorConverts this color value to a hexadecimal string. The format of the string is RRGGBBAA. |
| MakePlaneFromPointAndNormal | static FPlane MakePlaneFromPointAndNormal(FVector Point, FVector Normal);UFUNCTIONBlueprintPureCategory=Math|PlanePlane functions. |
| MakeDateTime | static FDateTime MakeDateTime(int32 Year, int32 Month, int32 Day, int32 Hour = 0, int32 Minute = 0, int32 Second = 0, int32 Millisecond = 0);UFUNCTIONBlueprintPureCategory=Math|DateTimeDateTime functions. Makes a DateTime struct |
| BreakDateTime | static void BreakDateTime(FDateTime InDateTime, int32& Year, int32& Month, int32& Day, int32& Hour, int32& Minute, int32& Second, int32& Millisecond);UFUNCTIONBlueprintPureCategory=Math|DateTimeBreaks a DateTime into its components |
| Add_DateTimeTimespan | static FDateTime Add_DateTimeTimespan(FDateTime A, FTimespan B);UFUNCTIONBlueprintPureCategory=Math|DateTimeAddition (A + B) |
| Subtract_DateTimeTimespan | static FDateTime Subtract_DateTimeTimespan(FDateTime A, FTimespan B);UFUNCTIONBlueprintPureCategory=Math|DateTimeSubtraction (A - B) |
| Add_DateTimeDateTime | static FDateTime Add_DateTimeDateTime(FDateTime A, FDateTime B);UFUNCTIONBlueprintPureCategory=Math|DateTimeAddition (A + B) |
| Subtract_DateTimeDateTime | static FTimespan Subtract_DateTimeDateTime(FDateTime A, FDateTime B);UFUNCTIONBlueprintPureCategory=Math|DateTimeSubtraction (A - B) |
| EqualEqual_DateTimeDateTime | static bool EqualEqual_DateTimeDateTime(FDateTime A, FDateTime B);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns true if the values are equal (A == B) |
| NotEqual_DateTimeDateTime | static bool NotEqual_DateTimeDateTime(FDateTime A, FDateTime B);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns true if the values are not equal (A != B) |
| Greater_DateTimeDateTime | static bool Greater_DateTimeDateTime(FDateTime A, FDateTime B);UFUNCTIONBlueprintPureReturns true if A is greater than B (A > B) |
| GreaterEqual_DateTimeDateTime | static bool GreaterEqual_DateTimeDateTime(FDateTime A, FDateTime B);UFUNCTIONBlueprintPureReturns true if A is greater than or equal to B (A >= B) |
| Less_DateTimeDateTime | static bool Less_DateTimeDateTime(FDateTime A, FDateTime B);UFUNCTIONBlueprintPureReturns true if A is less than B (A < B) |
| LessEqual_DateTimeDateTime | static bool LessEqual_DateTimeDateTime(FDateTime A, FDateTime B);UFUNCTIONBlueprintPureReturns true if A is less than or equal to B (A <= B) |
| GetDate | static FDateTime GetDate(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the date component of A |
| GetDay | static int32 GetDay(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the day component of A (1 to 31) |
| GetDayOfYear | static int32 GetDayOfYear(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the day of year of A |
| GetHour | static int32 GetHour(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the hour component of A (24h format) |
| GetHour12 | static int32 GetHour12(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the hour component of A (12h format) |
| GetMillisecond | static int32 GetMillisecond(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the millisecond component of A |
| GetMinute | static int32 GetMinute(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the minute component of A |
| GetMonth | static int32 GetMonth(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the month component of A |
| GetSecond | static int32 GetSecond(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the second component of A |
| GetTimeOfDay | static FTimespan GetTimeOfDay(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the time elapsed since midnight of A |
| GetYear | static int32 GetYear(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the year component of A |
| IsAfternoon | static bool IsAfternoon(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns whether A's time is in the afternoon |
| IsMorning | static bool IsMorning(FDateTime A);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns whether A's time is in the morning |
| DaysInMonth | static int32 DaysInMonth(int32 Year, int32 Month);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the number of days in the given year and month |
| DaysInYear | static int32 DaysInYear(int32 Year);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the number of days in the given year |
| IsLeapYear | static bool IsLeapYear(int32 Year);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns whether given year is a leap year |
| DateTimeMaxValue | static FDateTime DateTimeMaxValue();UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the maximum date and time value |
| DateTimeMinValue | static FDateTime DateTimeMinValue();UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the minimum date and time value |
| Now | static FDateTime Now();UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the local date and time on this computer |
| Today | static FDateTime Today();UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the local date on this computer |
| UtcNow | static FDateTime UtcNow();UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the UTC date and time on this computer |
| DateTimeFromIsoString | static bool DateTimeFromIsoString(FString IsoString, FDateTime& Result);UFUNCTIONBlueprintPureCategory=Math|DateTimeConverts a date string in ISO-8601 format to a DateTime object |
| DateTimeFromString | static bool DateTimeFromString(FString DateTimeString, FDateTime& Result);UFUNCTIONBlueprintPureCategory=Math|DateTimeConverts a date string to a DateTime object |
| ToUnixTimestamp | static int64 ToUnixTimestamp(const FDateTime& Time);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns this date as the number of seconds since the Unix Epoch (January 1st of 1970). |
| ToUnixTimestampDouble | static double ToUnixTimestampDouble(const FDateTime& Time);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns this date as the number of seconds since the Unix Epoch (January 1st of 1970). |
| FromUnixTimestamp | static FDateTime FromUnixTimestamp(const int64 UnixTime);UFUNCTIONBlueprintPureCategory=Math|DateTimeReturns the date from Unix time (seconds from midnight 1970-01-01) |
| TimespanMaxValue | static FTimespan TimespanMaxValue();UFUNCTIONBlueprintPureCategory=Math|TimespanTimespan constants Returns the maximum time span value |
| TimespanMinValue | static FTimespan TimespanMinValue();UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the minimum time span value |
| TimespanZeroValue | static FTimespan TimespanZeroValue();UFUNCTIONBlueprintPureCategory=Math|TimespanReturns a zero time span value |
| MakeTimespan | static FTimespan MakeTimespan(int32 Days, int32 Hours, int32 Minutes, int32 Seconds, int32 Milliseconds);UFUNCTIONBlueprintPureCategory=Math|TimespanTimespan functions. Makes a Timespan struct |
| MakeTimespan2 | static FTimespan MakeTimespan2(int32 Days, int32 Hours, int32 Minutes, int32 Seconds, int32 FractionNano);UFUNCTIONBlueprintPureCategory=Math|TimespanMakes a Timespan struct |
| BreakTimespan | static void BreakTimespan(FTimespan InTimespan, int32& Days, int32& Hours, int32& Minutes, int32& Seconds, int32& Milliseconds);UFUNCTIONBlueprintPureCategory=Math|TimespanBreaks a Timespan into its components |
| BreakTimespan2 | static void BreakTimespan2(FTimespan InTimespan, int32& Days, int32& Hours, int32& Minutes, int32& Seconds, int32& FractionNano);UFUNCTIONBlueprintPureCategory=Math|TimespanBreaks a Timespan into its components |
| Add_TimespanTimespan | static FTimespan Add_TimespanTimespan(FTimespan A, FTimespan B);UFUNCTIONBlueprintPureCategory=Math|TimespanAddition (A + B) |
| Subtract_TimespanTimespan | static FTimespan Subtract_TimespanTimespan(FTimespan A, FTimespan B);UFUNCTIONBlueprintPureCategory=Math|TimespanSubtraction (A - B) |
| Multiply_TimespanFloat | static FTimespan Multiply_TimespanFloat(FTimespan A, float Scalar);UFUNCTIONBlueprintPureCategory=Math|TimespanScalar multiplication (A * s) |
| Divide_TimespanFloat | static FTimespan Divide_TimespanFloat(FTimespan A, float Scalar);UFUNCTIONBlueprintPureCategory=Math|TimespanScalar division (A / s) |
| EqualEqual_TimespanTimespan | static bool EqualEqual_TimespanTimespan(FTimespan A, FTimespan B);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns true if the values are equal (A == B) |
| NotEqual_TimespanTimespan | static bool NotEqual_TimespanTimespan(FTimespan A, FTimespan B);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns true if the values are not equal (A != B) |
| Greater_TimespanTimespan | static bool Greater_TimespanTimespan(FTimespan A, FTimespan B);UFUNCTIONBlueprintPureReturns true if A is greater than B (A > B) |
| GreaterEqual_TimespanTimespan | static bool GreaterEqual_TimespanTimespan(FTimespan A, FTimespan B);UFUNCTIONBlueprintPureReturns true if A is greater than or equal to B (A >= B) |
| Less_TimespanTimespan | static bool Less_TimespanTimespan(FTimespan A, FTimespan B);UFUNCTIONBlueprintPureReturns true if A is less than B (A < B) |
| LessEqual_TimespanTimespan | static bool LessEqual_TimespanTimespan(FTimespan A, FTimespan B);UFUNCTIONBlueprintPureReturns true if A is less than or equal to B (A <= B) |
| GetDays | static int32 GetDays(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the days component of A |
| GetDuration | static FTimespan GetDuration(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the absolute value of A |
| GetHours | static int32 GetHours(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the hours component of A |
| GetMilliseconds | static int32 GetMilliseconds(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the milliseconds component of A |
| GetMinutes | static int32 GetMinutes(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the minutes component of A |
| GetSeconds | static int32 GetSeconds(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the seconds component of A |
| GetTotalDays | static double GetTotalDays(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the total number of days in A |
| GetTotalHours | static double GetTotalHours(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the total number of hours in A |
| GetTotalMilliseconds | static double GetTotalMilliseconds(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the total number of milliseconds in A |
| GetTotalMinutes | static double GetTotalMinutes(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the total number of minutes in A |
| GetTotalSeconds | static double GetTotalSeconds(FTimespan A);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the total number of seconds in A |
| FromDays | static FTimespan FromDays(double Days);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns a time span that represents the specified number of days |
| FromHours | static FTimespan FromHours(double Hours);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns a time span that represents the specified number of hours |
| FromMilliseconds | static FTimespan FromMilliseconds(double Milliseconds);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns a time span that represents the specified number of milliseconds |
| FromMinutes | static FTimespan FromMinutes(double Minutes);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns a time span that represents the specified number of minutes |
| FromSeconds | static FTimespan FromSeconds(double Seconds);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns a time span that represents the specified number of seconds |
| TimespanRatio | static float TimespanRatio(FTimespan A, FTimespan B);UFUNCTIONBlueprintPureCategory=Math|TimespanReturns the ratio between two time spans (A / B), handles zero values |
| TimespanFromString | static bool TimespanFromString(FString TimespanString, FTimespan& Result);UFUNCTIONBlueprintPureCategory=Math|TimespanConverts a time span string to a Timespan object |
| MakeQualifiedFrameTime | static FQualifiedFrameTime MakeQualifiedFrameTime(FFrameNumber Frame, FFrameRate FrameRate, float SubFrame = 0.f);UFUNCTIONBlueprintPureCategory=Utilities|Time ManagementFrame Time and Frame Rate Functions Creates a FQualifiedFrameTime out of a frame number, frame rate, and optional 0-1 clamped subframe. |
| BreakQualifiedFrameTime | static void BreakQualifiedFrameTime(const FQualifiedFrameTime& InFrameTime, FFrameNumber& Frame, FFrameRate& FrameRate, float& SubFrame);UFUNCTIONBlueprintPureCategory=Utilities|Time ManagementBreaks a FQualifiedFrameTime into its component parts again. |
| MakeFrameRate | static FFrameRate MakeFrameRate(int32 Numerator, int32 Denominator = 1);UFUNCTIONBlueprintPureCategory=Utilities|Time ManagementCreates a FFrameRate from a Numerator and a Denominator. Enforces that the Denominator is at least one. |
| BreakFrameRate | static void BreakFrameRate(const FFrameRate& InFrameRate, int32& Numerator, int32& Denominator);UFUNCTIONBlueprintPureCategory=Utilities|Time ManagementBreaks a FFrameRate into a numerator and denominator. |
| Conv_ByteToDouble | static double Conv_ByteToDouble(uint8 InByte);UFUNCTIONBlueprintPureConverts a byte to a float |
| Conv_IntToDouble | static double Conv_IntToDouble(int32 InInt);UFUNCTIONBlueprintPureConverts an integer to a float |
| Conv_IntToInt64 | static int64 Conv_IntToInt64(int32 InInt);UFUNCTIONBlueprintPureConverts an integer to a 64 bit integer |
| Conv_IntToByte | static uint8 Conv_IntToByte(int32 InInt);UFUNCTIONBlueprintPureConverts an integer to a byte (if the integer is too large, returns the low 8 bits) |
| Conv_Int64ToInt | static int32 Conv_Int64ToInt(int64 InInt);UFUNCTIONBlueprintPureConverts a 64 bit integer to a 32 bit integer (if the integer is too large, returns the low 32 bits) |
| Conv_Int64ToByte | static uint8 Conv_Int64ToByte(int64 InInt);UFUNCTIONBlueprintPureConverts a 64 bit integer to a byte (if the integer is too large, returns the low 8 bits) |
| Conv_DoubleToInt64 | static int64 Conv_DoubleToInt64(double InDouble);UFUNCTIONBlueprintPureConverts a float to a 64 bit integer |
| Conv_Int64ToDouble | static double Conv_Int64ToDouble(int64 InInt);UFUNCTIONBlueprintPureConverts a 64 bit integer to a float |
| Conv_IntToIntVector | static FIntVector Conv_IntToIntVector(int32 InInt);UFUNCTIONBlueprintPureConverts an integer to an IntVector |
| Conv_IntToIntVector2 | static FIntVector2 Conv_IntToIntVector2(int32 InInt);UFUNCTIONBlueprintPureConverts an integer to an IntVector2 |
| Conv_IntToVector | static FVector Conv_IntToVector(int32 InInt);UFUNCTIONBlueprintPureConverts an integer to a FVector |
| Conv_IntToBool | static bool Conv_IntToBool(int32 InInt);UFUNCTIONBlueprintPureConverts a int to a bool |
| Conv_BoolToInt | static int32 Conv_BoolToInt(bool InBool);UFUNCTIONBlueprintPureConverts a bool to an int |
| Conv_BoolToDouble | static double Conv_BoolToDouble(bool InBool);UFUNCTIONBlueprintPureConverts a bool to a float (0.0 or 1.0) |
| Conv_BoolToByte | static uint8 Conv_BoolToByte(bool InBool);UFUNCTIONBlueprintPureConverts a bool to a byte |
| Conv_ByteToInt | static int32 Conv_ByteToInt(uint8 InByte);UFUNCTIONBlueprintPureConverts a byte to an integer |
| Conv_ByteToInt64 | static int64 Conv_ByteToInt64(uint8 InByte);UFUNCTIONBlueprintPureConverts a byte to an integer |
| Conv_ColorToLinearColor | static FLinearColor Conv_ColorToLinearColor(FColor InColor);UFUNCTIONBlueprintPureConverts a color to LinearColor |
| Conv_IntVectorToVector | static FVector Conv_IntVectorToVector(const FIntVector& InIntVector);UFUNCTIONBlueprintPureConverts an IntVector to a vector |
| Conv_IntVector2ToVector2D | static FVector2D Conv_IntVector2ToVector2D(const FIntVector2& InIntVector2);UFUNCTIONBlueprintPureConverts an IntVector2 to a vector2D |
| Conv_DoubleToVector | static FVector Conv_DoubleToVector(double InDouble);UFUNCTIONBlueprintPureConverts a double into a vector, where each element is that float |
| Conv_DoubleToVector2D | static FVector2D Conv_DoubleToVector2D(double InDouble);UFUNCTIONBlueprintPureConvert a float into a vector, where each element is that float |
| MakeBox | static FBox MakeBox(FVector Min, FVector Max);UFUNCTIONBlueprintPureCategory=Math|BoxBox functions Makes an FBox from Min and Max and sets IsValid to true |
| MakeBoxWithOrigin | static FBox MakeBoxWithOrigin(const FVector& Origin, const FVector& Extent);UFUNCTIONBlueprintPureCategory=Math|BoxUtility function to build an box from an Origin and Extent |
| Box_IsInside | static bool Box_IsInside(const FBox& InnerTest, const FBox& OuterTest);UFUNCTIONBlueprintPureCategory=Math|BoxReturns true if the InnerTest Box is is completely inside of the OuterTest Box |
| Box_IsInsideOrOn | static bool Box_IsInsideOrOn(const FBox& InnerTest, const FBox& OuterTest);UFUNCTIONBlueprintPureCategory=Math|BoxReturns true if the InnerTest Box is is completely inside or on OuterTest Box |
| Box_IsPointInside | static bool Box_IsPointInside(const FBox& Box, const FVector& Point);UFUNCTIONBlueprintPureCategory=Math|BoxChecks whether the given location is inside this box. |
| Box_Intersects | static bool Box_Intersects(const FBox& A, const FBox& B);UFUNCTIONBlueprintPureCategory=Math|BoxChecks whether the given bounding box A intersects this bounding box B. |
| Box_ExpandBy | static FBox Box_ExpandBy(const FBox& Box, const FVector& Negative, const FVector& Positive);UFUNCTIONBlueprintPureCategory=Math|BoxReturns a box of increased size. |
| Box_Overlap | static FBox Box_Overlap(const FBox& A, const FBox& B);UFUNCTIONBlueprintPureCategory=Math|BoxReturns the overlap TBox<T> of two boxes |
| Box_GetClosestPointTo | static FVector Box_GetClosestPointTo(const FBox& Box, const FVector& Point);UFUNCTIONBlueprintPureCategory=Math|BoxCalculates the closest point on or inside the box to a given point in space. |
| MakeBox2D | static FBox2D MakeBox2D(FVector2D Min, FVector2D Max);UFUNCTIONBlueprintPureCategory=Math|Box2DBox2D functions Makes an FBox2D from Min and Max and sets IsValid to true |
| MakeBoxSphereBounds | static FBoxSphereBounds MakeBoxSphereBounds(FVector Origin, FVector BoxExtent, float SphereRadius);UFUNCTIONBlueprintPureCategory=Math|BoxSphereBoundsBoxSphereBounds functions Makes an FBoxSphereBounds given an origin, extent, and radius |
| BreakBoxSphereBounds | static void BreakBoxSphereBounds(const FBoxSphereBounds& InBoxSphereBounds, FVector& Origin, FVector& BoxExtent, float& SphereRadius);UFUNCTIONBlueprintPureCategory=Math|BoxSphereBoundsBreaks an FBoxSphereBounds into origin, extent, and radius |
| MakeRandomStream | static FRandomStream MakeRandomStream(int32 InitialSeed);UFUNCTIONBlueprintPureCategory=Math|RandomMisc functions Makes a SRand-based random number generator |
| MakeRandomStreamFromLocation | static FRandomStream MakeRandomStreamFromLocation(const FVector& Location, float DistanceInterval = 200.f, bool bIncludeZ = false);UFUNCTIONBlueprintPureCategory=Math|RandomMakes a random stream that will generate deterministic values, optionally grouping outputs within cells on a grid |
| BreakRandomStream | static void BreakRandomStream(const FRandomStream& InRandomStream, int32& InitialSeed);UFUNCTIONBlueprintPureCategory=Math|RandomBreaks apart a random number generator |
| SelectString | static FString SelectString(const FString& A, const FString& B, bool bPickA);UFUNCTIONBlueprintPureCategory=Utilities|StringIf bPickA is true, A is returned, otherwise B is |
| SelectText | static FText SelectText(const FText A, const FText B, bool bPickA);UFUNCTIONBlueprintPureCategory=Utilities|StringIf bPickA is true, A is returned, otherwise B is |
| SelectName | static FName SelectName(const FName A, const FName B, bool bPickA);UFUNCTIONBlueprintPureCategory=Utilities|StringIf bPickA is true, A is returned, otherwise B is |
| SelectInt | static int32 SelectInt(int32 A, int32 B, bool bPickA);UFUNCTIONBlueprintPureCategory=Math|IntegerIf bPickA is true, A is returned, otherwise B is |
| SelectFloat | static double SelectFloat(double A, double B, bool bPickA);UFUNCTIONBlueprintPureCategory=Math|FloatIf bPickA is true, A is returned, otherwise B is |
| SelectVector | static FVector SelectVector(FVector A, FVector B, bool bPickA);UFUNCTIONBlueprintPureCategory=Math|VectorIf bPickA is true, A is returned, otherwise B is |
| SelectRotator | static FRotator SelectRotator(FRotator A, FRotator B, bool bPickA);UFUNCTIONBlueprintPureCategory=Math|RotatorIf bPickA is true, A is returned, otherwise B is |
| SelectColor | static FLinearColor SelectColor(FLinearColor A, FLinearColor B, bool bPickA);UFUNCTIONBlueprintPureCategory=Math|ColorIf bPickA is true, A is returned, otherwise B is |
| SelectTransform | static FTransform SelectTransform(const FTransform& A, const FTransform& B, bool bPickA);UFUNCTIONBlueprintPureCategory=Math|TransformIf bPickA is true, A is returned, otherwise B is |
| SelectObject | static UObject* SelectObject(UObject* A, UObject* B, bool bSelectA);UFUNCTIONBlueprintPureCategory=UtilitiesIf bPickA is true, A is returned, otherwise B is |
| SelectClass | static UClass* SelectClass(UClass* A, UClass* B, bool bSelectA);UFUNCTIONBlueprintPureCategory=UtilitiesIf bPickA is true, A is returned, otherwise B is |
| EqualEqual_ObjectObject | static bool EqualEqual_ObjectObject(class UObject* A, class UObject* B);UFUNCTIONBlueprintPureCategory=UtilitiesObject operators and functions. Returns true if A and B are equal (A == B) |
| NotEqual_ObjectObject | static bool NotEqual_ObjectObject(class UObject* A, class UObject* B);UFUNCTIONBlueprintPureCategory=UtilitiesReturns true if A and B are not equal (A != B) |
| EqualEqual_ClassClass | static bool EqualEqual_ClassClass(class UClass* A, class UClass* B);UFUNCTIONBlueprintPureCategory=UtilitiesClass operators and functions. Returns true if A and B are equal (A == B) |
| NotEqual_ClassClass | static bool NotEqual_ClassClass(class UClass* A, class UClass* B);UFUNCTIONBlueprintPureCategory=UtilitiesReturns true if A and B are not equal (A != B) |
| ClassIsChildOf | static bool ClassIsChildOf(TSubclassOf<class UObject> TestClass, TSubclassOf<class UObject> ParentClass);UFUNCTIONBlueprintPureCategory=UtilitiesDetermine if a class is a child of another class. |
| EqualEqual_NameName | static bool EqualEqual_NameName(FName A, FName B);UFUNCTIONBlueprintPureCategory=Utilities|NameName operators. Returns true if A and B are equal (A == B) |
| NotEqual_NameName | static bool NotEqual_NameName(FName A, FName B);UFUNCTIONBlueprintPureCategory=Utilities|NameReturns true if A and B are not equal (A != B) |
| MakeTransform | static FTransform MakeTransform(FVector Location, FRotator Rotation, FVector Scale = FVector(1,1,1));UFUNCTIONBlueprintPureCategory=Math|TransformTransform functions Make a transform from location, rotation and scale |
| BreakTransform | static void BreakTransform(const FTransform& InTransform, FVector& Location, FRotator& Rotation, FVector& Scale);UFUNCTIONBlueprintPureCategory=Math|TransformBreaks apart a transform into location, rotation and scale |
| EqualEqual_TransformTransform | static bool EqualEqual_TransformTransform(const FTransform& A, const FTransform& B);UFUNCTIONBlueprintPureCategory=Math|TransformReturns true if transform A is equal to transform B |
| NearlyEqual_TransformTransform | static bool NearlyEqual_TransformTransform(const FTransform& A, const FTransform& B, float LocationTolerance = 1.e-4f, float RotationTolerance = 1.e-4f, float Scale3DTolerance = 1.e-4f);UFUNCTIONBlueprintPureCategory=Math|TransformReturns true if transform A is nearly equal to B |
| ComposeTransforms | static FTransform ComposeTransforms(const FTransform& A, const FTransform& B);UFUNCTIONBlueprintPureCategory=Math|TransformCompose two transforms in order: A * B. |
| TransformLocation | static FVector TransformLocation(const FTransform& T, FVector Location);UFUNCTIONBlueprintPureCategory=Math|TransformTransform a position by the supplied transform. For example, if T was an object's transform, this would transform a position from local space to world space. |
| TransformDirection | static FVector TransformDirection(const FTransform& T, FVector Direction);UFUNCTIONBlueprintPureCategory=Math|TransformTransform a direction vector by the supplied transform - will not change its length. For example, if T was an object's transform, this would transform a direction from local space to world space. |
| TransformRotation | static FRotator TransformRotation(const FTransform& T, FRotator Rotation);UFUNCTIONBlueprintPureCategory=Math|TransformTransform a rotator by the supplied transform. For example, if T was an object's transform, this would transform a rotation from local space to world space. |
| InverseTransformLocation | static FVector InverseTransformLocation(const FTransform& T, FVector Location);UFUNCTIONBlueprintPureCategory=Math|TransformTransform a position by the inverse of the supplied transform. For example, if T was an object's transform, this would transform a position from world space to local space. |
| InverseTransformDirection | static FVector InverseTransformDirection(const FTransform& T, FVector Direction);UFUNCTIONBlueprintPureCategory=Math|TransformTransform a direction vector by the inverse of the supplied transform - will not change its length. For example, if T was an object's transform, this would transform a direction from world space to local space. |
| InverseTransformRotation | static FRotator InverseTransformRotation(const FTransform& T, FRotator Rotation);UFUNCTIONBlueprintPureCategory=Math|TransformTransform a rotator by the inverse of the supplied transform. For example, if T was an object's transform, this would transform a rotation from world space to local space. |
| MakeRelativeTransform | static FTransform MakeRelativeTransform(const FTransform& A, const FTransform& RelativeTo);UFUNCTIONBlueprintPureCategory=Math|TransformComputes a relative transform of one transform compared to another. |
| InvertTransform | static FTransform InvertTransform(const FTransform& T);UFUNCTIONBlueprintPureCategory=Math|TransformReturns the inverse of the given transform T. |
| TLerp | static FTransform TLerp(const FTransform& A, const FTransform& B, float Alpha, TEnumAsByte<ELerpInterpolationMode::Type> InterpMode = ELerpInterpolationMode::QuatInterp);UFUNCTIONBlueprintPureCategory=Math|TransformLinearly interpolates between A and B based on Alpha (100% of A when Alpha=0 and 100% of B when Alpha=1). |
| TEase | static FTransform TEase(const FTransform& A, const FTransform& B, float Alpha, TEnumAsByte<EEasingFunc::Type> EasingFunc, float BlendExp = 2, int32 Steps = 2);UFUNCTIONBlueprintPureCategory=Math|InterpolationEase between A and B using a specified easing function. |
| TInterpTo | static FTransform TInterpTo(const FTransform& Current, const FTransform& Target, float DeltaTime, float InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationTries to reach Target transform based on distance from Current position, giving a nice smooth feeling when tracking a position. |
| Transform_Determinant | static float Transform_Determinant(const FTransform& Transform);UFUNCTIONBlueprintPureCategory=Math|TransformCalculates the determinant of the transform (converts to FMatrix internally) |
| Conv_TransformToMatrix | static FMatrix Conv_TransformToMatrix(const FTransform& Transform);UFUNCTIONBlueprintPureCategory=Math|TransformConverts a Transform to a Matrix with scale |
| FInterpTo | static double FInterpTo(double Current, double Target, double DeltaTime, double InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationInterpolation functions |
| FInterpTo_Constant | static double FInterpTo_Constant(double Current, double Target, double DeltaTime, double InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationTries to reach Target at a constant rate. |
| RInterpTo | static FRotator RInterpTo(FRotator Current, FRotator Target, float DeltaTime, float InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationTries to reach Target rotation based on Current rotation, giving a nice smooth feeling when rotating to Target rotation. |
| RInterpTo_Constant | static FRotator RInterpTo_Constant(FRotator Current, FRotator Target, float DeltaTime, float InterpSpeed);UFUNCTIONBlueprintPureCategory=Math|InterpolationTries to reach Target rotation at a constant rate. |
| FloatSpringInterp | static float FloatSpringInterp(float Current, float Target, UPARAM(ref) FFloatSpringState& SpringState, float Stiffness, float CriticalDampingFactor, float DeltaTime, float Mass = 1.f, float TargetVelocityAmount = 1.f, bool bClamp = false, float MinValue = -1.f, float MaxValue = 1.f, bool bInitializeFromTarget = false);UFUNCTIONBlueprintCallableCategory=Math|InterpolationUses a simple spring model to interpolate a float from Current to Target. |
| ResetFloatSpringState | static void ResetFloatSpringState(UPARAM(ref) FFloatSpringState& SpringState);UFUNCTIONBlueprintCallableCategory=Math|InterpolationResets the state of a float spring |
| ResetVectorSpringState | static void ResetVectorSpringState(UPARAM(ref) FVectorSpringState& SpringState);UFUNCTIONBlueprintCallableCategory=Math|InterpolationResets the state of a vector spring |
| ResetQuaternionSpringState | static void ResetQuaternionSpringState(UPARAM(ref) FQuaternionSpringState& SpringState);UFUNCTIONBlueprintCallableCategory=Math|InterpolationResets the state of a quaternion spring |
| SetFloatSpringStateVelocity | static void SetFloatSpringStateVelocity(UPARAM(ref) FFloatSpringState& SpringState, float Velocity);UFUNCTIONBlueprintCallableCategory=Math|InterpolationSets the state velocity of a float spring |
| SetVectorSpringStateVelocity | static void SetVectorSpringStateVelocity(UPARAM(ref) FVectorSpringState& SpringState, FVector Velocity);UFUNCTIONBlueprintCallableCategory=Math|InterpolationSets the state velocity of a vector spring |
| SetQuaternionSpringStateAngularVelocity | static void SetQuaternionSpringStateAngularVelocity(UPARAM(ref) FQuaternionSpringState& SpringState, FVector AngularVelocity);UFUNCTIONBlueprintCallableCategory=Math|InterpolationSets the state angular velocity of a quaternion spring |
| RandomIntegerFromStream | static int32 RandomIntegerFromStream(const FRandomStream& Stream, int32 Max);UFUNCTIONBlueprintPureCategory=Math|RandomRandom stream functions Returns a uniformly distributed random number between 0 and Max - 1 |
| RandomIntegerInRangeFromStream | static int32 RandomIntegerInRangeFromStream(const FRandomStream& Stream, int32 Min, int32 Max);UFUNCTIONBlueprintPureCategory=Math|RandomReturn a random integer between Min and Max (>= Min and <= Max) |
| RandomBoolFromStream | static bool RandomBoolFromStream(const FRandomStream& Stream);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random bool |
| RandomFloatFromStream | static float RandomFloatFromStream(const FRandomStream& Stream);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random float between 0 and 1 |
| RandomFloatInRangeFromStream | static float RandomFloatInRangeFromStream(const FRandomStream& Stream, float Min, float Max);UFUNCTIONBlueprintPureCategory=Math|RandomGenerate a random number between Min and Max |
| RandomUnitVectorFromStream | static FVector RandomUnitVectorFromStream(const FRandomStream& Stream);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1.0 |
| RandomPointInBoundingBoxFromStream | static FVector RandomPointInBoundingBoxFromStream(const FRandomStream& Stream, const FVector Center, const FVector HalfSize);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random point within the specified bounding box using the first vector as an origin and the second as the half size of the AABB. |
| RandomPointInBoundingBoxFromStream_Box | static FVector RandomPointInBoundingBoxFromStream_Box(const FRandomStream& Stream, const FBox Box);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random point within the specified bounding box. |
| RandomRotatorFromStream | static FRotator RandomRotatorFromStream(const FRandomStream& Stream, bool bRoll);UFUNCTIONBlueprintPureCategory=Math|RandomCreate a random rotation |
| ResetRandomStream | static void ResetRandomStream(const FRandomStream& Stream);UFUNCTIONBlueprintCallableCategory=Math|RandomReset a random stream |
| SeedRandomStream | static void SeedRandomStream(UPARAM(ref) FRandomStream& Stream);UFUNCTIONBlueprintCallableCategory=Math|RandomCreate a new random seed for a random stream |
| SetRandomStreamSeed | static void SetRandomStreamSeed(UPARAM(ref) FRandomStream& Stream, int32 NewSeed);UFUNCTIONBlueprintCallableCategory=Math|RandomSet the seed of a random stream to a specific number |
| RandomUnitVectorInConeInRadiansFromStream | static FVector RandomUnitVectorInConeInRadiansFromStream(const FRandomStream& Stream, const FVector& ConeDir, float ConeHalfAngleInRadians);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1, within the specified cone, with uniform random distribution. |
| RandomUnitVectorInConeInDegreesFromStream | static inline FVector RandomUnitVectorInConeInDegreesFromStream(const FRandomStream& Stream, const FVector& ConeDir, float ConeHalfAngleInDegrees);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1, within the specified cone, with uniform random distribution. |
| RandomUnitVectorInEllipticalConeInRadiansFromStream | static FVector RandomUnitVectorInEllipticalConeInRadiansFromStream(const FRandomStream& Stream, const FVector& ConeDir, float MaxYawInRadians, float MaxPitchInRadians);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1, within the specified cone, with uniform random distribution. The shape of the cone can be modified according to the yaw and pitch angles. |
| RandomUnitVectorInEllipticalConeInDegreesFromStream | static inline FVector RandomUnitVectorInEllipticalConeInDegreesFromStream(const FRandomStream& Stream, const FVector& ConeDir, float MaxYawInDegrees, float MaxPitchInDegrees);UFUNCTIONBlueprintPureCategory=Math|RandomReturns a random vector with length of 1, within the specified cone, with uniform random distribution. The shape of the cone can be modified according to the yaw and pitch angles. |
| PerlinNoise1D | static float PerlinNoise1D(const float Value);UFUNCTIONBlueprintPureCategory=Math|RandomGenerates a 1D Perlin noise from the given value. Returns a continuous random value between -1.0 and 1.0. |
| MinAreaRectangle | static void MinAreaRectangle(UObject* WorldContextObject, const TArray<FVector>& InPoints, const FVector& SampleSurfaceNormal, FVector& OutRectCenter, FRotator& OutRectRotation, float& OutRectLengthX, float& OutRectLengthY, bool bDebugDraw = false);UFUNCTIONBlueprintCallableCategory=Math|GeometryGeometry |
| PointsAreCoplanar | static bool PointsAreCoplanar(const TArray<FVector>& Points, float Tolerance = 0.1f);UFUNCTIONBlueprintPureCategory=Math|GeometryDetermines whether a given set of points are coplanar, with a tolerance. Any three points or less are always coplanar. |
| IsPointInBox | static bool IsPointInBox(FVector Point, FVector BoxOrigin, FVector BoxExtent);UFUNCTIONBlueprintPureCategory=Math|GeometryDetermines whether the given point is in a box. Includes points on the box. |
| IsPointInBox_Box | static bool IsPointInBox_Box(FVector Point, FBox Box);UFUNCTIONBlueprintPureCategory=Math|GeometryDetermines whether the given point is in a box. Includes points on the box. |
| GetBoxVolume | static double GetBoxVolume(const FBox& InBox);UFUNCTIONBlueprintPureCategory=Math|GeometryGets the volume of this box. |
| GetBoxSize | static FVector GetBoxSize(const FBox& InBox);UFUNCTIONBlueprintPureCategory=Math|GeometryGets the size of this box. |
| GetBoxCenter | static FVector GetBoxCenter(const FBox& InBox);UFUNCTIONBlueprintPureCategory=Math|GeometryGets the center point of this box. |
| IsPointInBoxWithTransform | static bool IsPointInBoxWithTransform(FVector Point, const FTransform& BoxWorldTransform, FVector BoxExtent);UFUNCTIONBlueprintPureCategory=Math|GeometryDetermines whether a given point is in a box with a given transform. Includes points on the box. |
| IsPointInBoxWithTransform_Box | static bool IsPointInBoxWithTransform_Box(FVector Point, const FTransform& BoxWorldTransform, FBox BoxExtent);UFUNCTIONBlueprintPureCategory=Math|GeometryDetermines whether a given point is in a box with a given transform. Includes points on the box. |
| GetSlopeDegreeAngles | static void GetSlopeDegreeAngles(const FVector& MyRightYAxis, const FVector& FloorNormal, const FVector& UpVector, float& OutSlopePitchDegreeAngle, float& OutSlopeRollDegreeAngle);UFUNCTIONBlueprintPureCategory=Math|GeometryReturns Slope Pitch and Roll angles in degrees based on the following information: |
| LinePlaneIntersection | static bool LinePlaneIntersection(const FVector& LineStart, const FVector& LineEnd, const FPlane& APlane, float& T, FVector& Intersection);UFUNCTIONBlueprintPureCategory=Math|IntersectionIntersection |
| LinePlaneIntersection_OriginNormal | static bool LinePlaneIntersection_OriginNormal(const FVector& LineStart, const FVector& LineEnd, FVector PlaneOrigin, FVector PlaneNormal, float& T, FVector& Intersection);UFUNCTIONBlueprintPureCategory=Math|IntersectionComputes the intersection point between a line and a plane. |
| WeightedMovingAverage_Float | static float WeightedMovingAverage_Float(float CurrentSample, float PreviousSample, float Weight);UFUNCTIONBlueprintPureCategory=Math|SmoothingCalculates the new value in a weighted moving average series using the previous value and the weight |
| WeightedMovingAverage_FVector | static FVector WeightedMovingAverage_FVector(FVector CurrentSample, FVector PreviousSample, float Weight);UFUNCTIONBlueprintPureCategory=Math|SmoothingCalculates the new value in a weighted moving average series using the previous value and the weight |
| WeightedMovingAverage_FRotator | static FRotator WeightedMovingAverage_FRotator(FRotator CurrentSample, FRotator PreviousSample, float Weight);UFUNCTIONBlueprintPureCategory=Math|SmoothingCalculates the new value in a weighted moving average series using the previous value and the weight |
| DynamicWeightedMovingAverage_Float | static float DynamicWeightedMovingAverage_Float(float CurrentSample, float PreviousSample, float MaxDistance, float MinWeight, float MaxWeight);UFUNCTIONBlueprintPureCategory=Math|SmoothingCalculates the new value in a weighted moving average series using the previous value and a weight range. The weight range is used to dynamically adjust based upon distance between the samples This allows you to… |
| DynamicWeightedMovingAverage_FVector | static FVector DynamicWeightedMovingAverage_FVector(FVector CurrentSample, FVector PreviousSample, float MaxDistance, float MinWeight, float MaxWeight);UFUNCTIONBlueprintPureCategory=Math|SmoothingCalculates the new value in a weighted moving average series using the previous value and a weight range. The weight range is used to dynamically adjust based upon distance between the samples This allows you to… |
| DynamicWeightedMovingAverage_FRotator | static FRotator DynamicWeightedMovingAverage_FRotator(FRotator CurrentSample, FRotator PreviousSample, float MaxDistance, float MinWeight, float MaxWeight);UFUNCTIONBlueprintPureCategory=Math|SmoothingCalculates the new value in a weighted moving average series using the previous value and a weight range. The weight range is used to dynamically adjust based upon distance between the samples This allows you to… |
| Convert1DTo2D | static FIntPoint Convert1DTo2D(int32 Index1D, int32 XSize);UFUNCTIONBlueprintPureCategory=Math|Conversions|IndicesMultidimensional index conversions |
| Convert1DTo3D | static FIntVector Convert1DTo3D(int32 Index1D, int32 XSize, int32 YSize);UFUNCTIONBlueprintPureCategory=Math|Conversions|IndicesMaps a 1D array index to a 3D array index. |
| Convert2DTo1D | static int32 Convert2DTo1D(const FIntPoint& Index2D, int32 XSize);UFUNCTIONBlueprintPureCategory=Math|Conversions|IndicesMaps a 2D array index to a 1D array index. |
| Convert3DTo1D | static int32 Convert3DTo1D(const FIntVector& Index3D, int32 XSize, int32 YSize);UFUNCTIONBlueprintPureCategory=Math|Conversions|IndicesMaps a 3D array index to a 1D array index. |
| MakeVector_NetQuantize | static FVector_NetQuantize MakeVector_NetQuantize(double X, double Y, double Z);UFUNCTIONBlueprintPureCategory=Math|VectorNetQuantized vector make/breaks |
| MakeVector_NetQuantize10 | static FVector_NetQuantize10 MakeVector_NetQuantize10(double X, double Y, double Z);UFUNCTIONBlueprintPureCategory=Math|Vector |
| MakeVector_NetQuantize100 | static FVector_NetQuantize100 MakeVector_NetQuantize100(double X, double Y, double Z);UFUNCTIONBlueprintPureCategory=Math|Vector |
| MakeVector_NetQuantizeNormal | static FVector_NetQuantizeNormal MakeVector_NetQuantizeNormal(double X, double Y, double Z);UFUNCTIONBlueprintPureCategory=Math|Vector |
| BreakVector_NetQuantize | static void BreakVector_NetQuantize(FVector_NetQuantize InVec, double& X, double& Y, double& Z);UFUNCTIONBlueprintPureCategory=Math|Vector |
| BreakVector_NetQuantize10 | static void BreakVector_NetQuantize10(FVector_NetQuantize10 InVec, double& X, double& Y, double& Z);UFUNCTIONBlueprintPureCategory=Math|Vector |
| BreakVector_NetQuantize100 | static void BreakVector_NetQuantize100(FVector_NetQuantize100 InVec, double& X, double& Y, double& Z);UFUNCTIONBlueprintPureCategory=Math|Vector |
| BreakVector_NetQuantizeNormal | static void BreakVector_NetQuantizeNormal(FVector_NetQuantizeNormal InVec, double& X, double& Y, double& Z);UFUNCTIONBlueprintPureCategory=Math|Vector |