RealDocs

50 results for "math"

struct
FMath Core

The primary math utility struct in Unreal Engine, providing static functions for arithmetic, interpolation, trigonometry, random number generation, and geometric operations.

class
UKismetMathLibrary Engine

Blueprint function library providing a comprehensive set of math utilities: boolean logic, byte/int/float arithmetic, vector and rotator operations, interpolation, random number generation, and matrix math.

function
FMath::Abs Core

Returns the absolute (non-negative) value of A.

function
UKismetMathLibrary::Abs Engine

Returns the absolute (positive) value of A.

function
UKismetMathLibrary::Abs_Int Engine

Returns the absolute (non-negative) value of A.

function
UKismetMathLibrary::Abs_Int64 Engine

Returns the absolute (non-negative) value of A.

function
UKismetMathLibrary::Acos Engine

Returns the inverse cosine (arc cosine) of A in radians.

function
UKismetMathLibrary::Add_ByteByte Engine

Adds two byte values and returns the sum.

function
UKismetMathLibrary::Add_DateTimeDateTime Engine

Adds two FDateTime values by summing their raw tick counts and returns the result as a new FDateTime.

function
UKismetMathLibrary::Add_DateTimeTimespan Engine

Adds a timespan duration to a date-time value, returning a new FDateTime shifted forward by that amount.

function
UKismetMathLibrary::Add_DoubleDouble Engine

Returns the sum of two doubles (A + B).

function
UKismetMathLibrary::Add_Int64Int64 Engine

Adds two 64-bit integers (A + B).

function
UKismetMathLibrary::Add_IntInt Engine

Adds two integers and returns the sum.

function
UKismetMathLibrary::Add_IntPointInt Engine

Adds a scalar integer B to both the X and Y components of IntPoint A, returning a new FIntPoint.

function
UKismetMathLibrary::Add_IntPointIntPoint Engine

Returns a new FIntPoint whose X and Y are the component-wise sums of A and B.

function
UKismetMathLibrary::Add_LinearColorLinearColor Engine

Adds two linear colors channel-by-channel (R+R, G+G, B+B, A+A).

function
UKismetMathLibrary::Add_MatrixMatrix Engine

Adds two 4x4 matrices element-wise (A + B).

function
UKismetMathLibrary::Add_QuatQuat Engine

Adds two quaternions component-wise (A + B).

function
UKismetMathLibrary::Add_TimespanTimespan Engine

Returns A + B as a new FTimespan.

function
UKismetMathLibrary::Add_Vector2DFloat Engine

Adds a scalar float to both components of a 2D vector, returning (A.

function
UKismetMathLibrary::Add_Vector2DVector2D Engine

Returns the component-wise sum of two 2D vectors (A + B).

function
UKismetMathLibrary::Add_Vector4Vector4 Engine

Returns the component-wise sum of two FVector4 values (A + B).

function
UKismetMathLibrary::Add_VectorFloat Engine

Adds a scalar float value to each component of a vector, returning {A.

function
UKismetMathLibrary::Add_VectorInt Engine

Adds an integer to every component of a vector.

function
UKismetMathLibrary::Add_VectorVector Engine

Adds two vectors component-wise, returning a new FVector.

function
UKismetMathLibrary::And_Int64Int64 Engine

Performs a bitwise AND on A and B and returns the result.

function
UKismetMathLibrary::And_IntInt Engine

Bitwise AND of two integers (A & B).

function
FMath::ApplyScaleToFloat Core

Applies a 3D scale delta to a single float in-place, intended for editor gizmo interactions where dragging a uniform scale handle should affect scalar properties.

function
UKismetMathLibrary::Asin Engine

Returns the inverse sine (arcsine) of A in radians.

function
UKismetMathLibrary::Atan Engine

Returns the inverse tangent (arc tangent) of A in radians, in the range (-π/2, π/2).

function
FMath::Atan2 Core

Returns the angle in radians between the positive X axis and the point (X, Y), in the range [-π, π].

function
UKismetMathLibrary::Atan2 Engine

Returns the full-circle arc tangent of Y/X in radians, correctly handling all four quadrants.

function
UKismetMathLibrary::AverageOfIntArray Engine

Computes the arithmetic mean of an integer array as a float.

function
UKismetMathLibrary::BMax Engine

Returns the larger of two byte values.

function
UKismetMathLibrary::BMin Engine

Returns the smaller of two byte values.

function
UKismetMathLibrary::BooleanAND Engine

Returns true only when both A and B are true (logical AND).

function
UKismetMathLibrary::BooleanNAND Engine

Returns false only when both A and B are true; returns true in all other cases (logical NOT AND).

function
UKismetMathLibrary::BooleanNOR Engine

Returns true only when both A and B are false (logical NOT OR).

function
UKismetMathLibrary::BooleanOR Engine

Returns true if at least one of A or B is true (logical OR).

function
UKismetMathLibrary::BooleanXOR Engine

Returns true only when exactly one of A or B is true (exclusive OR).

function
UKismetMathLibrary::Box_ExpandBy Engine

Returns a new FBox grown (or shrunk) by independent amounts on the negative and positive sides of each axis.

function
UKismetMathLibrary::Box_GetClosestPointTo Engine

Calculates the point on the surface of (or inside) a bounding box that is nearest to a given world-space point.

function
UKismetMathLibrary::Box_Intersects Engine

Returns true if two axis-aligned bounding boxes overlap, including the case where they only share a boundary face or edge.

function
UKismetMathLibrary::Box_IsInside Engine

Returns true only when InnerTest is completely contained within OuterTest, with no part touching or crossing the outer boundary.

function
UKismetMathLibrary::Box_IsInsideOrOn Engine

Returns true when InnerTest is completely inside OuterTest, including cases where the inner box shares a face, edge, or corner with the outer boundary.

function
UKismetMathLibrary::Box_IsPointInside Engine

Tests whether a world-space point lies strictly inside an axis-aligned bounding box.

function
UKismetMathLibrary::Box_Overlap Engine

Returns the intersection (overlapping region) of two axis-aligned bounding boxes.

function
UKismetMathLibrary::BreakBoxSphereBounds Engine

Decomposes an FBoxSphereBounds into its origin, box half-extent, and sphere radius components.

function
UKismetMathLibrary::BreakColor Engine

Decomposes an FLinearColor into its individual R, G, B, and A float components.

function
UKismetMathLibrary::BreakDateTime Engine

Decomposes an FDateTime into its year, month, day, hour, minute, second, and millisecond components.