RealDocs

48 results for "vector" in function

function
FVector::CrossProduct Core

Returns the cross product of two vectors.

function
FVector::Distance Core

Returns the Euclidean distance between two vectors.

function
FVector::DotProduct Core

Computes the dot product of two vectors: `A.

function
FVector::GetSafeNormal Core

Returns a normalised copy of the vector, or ResultIfZero if the vector is too short to safely normalise.

function
FVector::IsNearlyZero Core

Returns true if all three components are within Tolerance of zero.

function
FVector::IsZero Core

Returns true if all three components are exactly zero.

function
FVector::RotateAngleAxis Core

Returns this vector rotated around the given axis by AngleDeg degrees, using Rodrigues' rotation formula.

function
UKismetMathLibrary::Vector2DInterpTo Engine

Smoothly moves a 2D position toward a target using exponential interpolation.

function
UKismetMathLibrary::Vector2DInterpTo_Constant Engine

Moves a 2D position toward a target at a constant speed per second, clamping at the target when reached.

function
UKismetMathLibrary::Vector2D_One Engine

Returns the constant FVector2D (1, 1).

function
UKismetMathLibrary::Vector2D_Unit45Deg Engine

Returns the normalised 2D unit vector pointing along the 45-degree diagonal: (sqrt(0.

function
UKismetMathLibrary::Vector2D_Zero Engine

Returns the constant FVector2D (0, 0).

function
UKismetMathLibrary::Vector4_Assign Engine

Copies all four components of InVector into A in-place.

function
UKismetMathLibrary::Vector4_CrossProduct3 Engine

Computes the 3D cross product of the XYZ components of two Vector4 values.

function
UKismetMathLibrary::Vector4_DotProduct Engine

Returns the 4D dot product of two FVector4 values: A.

function
UKismetMathLibrary::Vector4_DotProduct3 Engine

Returns the 3D dot product of two FVector4 values using only the XYZ components: A.

function
UKismetMathLibrary::Vector4_IsNAN Engine

Returns true if any of the four components of A is NaN (Not a Number).

function
UKismetMathLibrary::Vector4_IsNearlyZero3 Engine

Returns true if all XYZ components of A are within Tolerance of zero.

function
UKismetMathLibrary::Vector4_IsNormal3 Engine

Returns true if the XYZ components form a unit-length vector, ignoring W.

function
UKismetMathLibrary::Vector4_IsUnit3 Engine

Returns true if the XYZ components of the vector have a squared length within SquaredLenthTolerance of 1.

function
UKismetMathLibrary::Vector4_IsZero Engine

Returns true only if all four components of A are exactly 0.

function
UKismetMathLibrary::Vector4_MirrorByVector3 Engine

Reflects a direction vector across a surface normal using only the XYZ components, equivalent to D - 2*(D·N)*N.

function
UKismetMathLibrary::Vector4_Negated Engine

Returns a copy of A with all four components negated ({-X, -Y, -Z, -W}).

function
UKismetMathLibrary::Vector4_Normal3 Engine

Returns a safe normalized copy of the vector's XYZ components with W set to 0.

function
UKismetMathLibrary::Vector4_NormalUnsafe3 Engine

Normalizes the XYZ components without any zero-length check.

function
UKismetMathLibrary::Vector4_Normalize3 Engine

Normalizes the XYZ components of the vector in-place, setting W to 0.

function
UKismetMathLibrary::Vector4_Set Engine

Sets all four components of a Vector4 variable in-place using individual double values.

function
UKismetMathLibrary::Vector4_Size Engine

Returns the Euclidean length (magnitude) of a FVector4 including all four components: sqrt(X²+Y²+Z²+W²).

function
UKismetMathLibrary::Vector4_Size3 Engine

Returns the Euclidean length of the XYZ components of a FVector4, ignoring the W element entirely.

function
UKismetMathLibrary::Vector4_SizeSquared Engine

Returns the squared Euclidean length of a FVector4 including all four components: X²+Y²+Z²+W².

function
UKismetMathLibrary::Vector4_SizeSquared3 Engine

Returns X*X + Y*Y + Z*Z for the vector, ignoring W.

function
UKismetMathLibrary::Vector4_Zero Engine

Returns the FVector4 zero constant (0, 0, 0, 0).

function
UKismetMathLibrary::VectorSpringInterp Engine

Interpolates a vector using a damped spring model, producing natural overshoot and oscillation.

function
UKismetMathLibrary::Vector_AddBounded Engine

Adds InAddVect to A in place and then clamps the result to an axis-aligned cube of half-size InRadius centered at the origin.

function
UKismetMathLibrary::Vector_Assign Engine

Copies all components from InVector into A, overwriting A in place.

function
UKismetMathLibrary::Vector_Backward Engine

Returns the Unreal Engine world backward direction constant (-1, 0, 0), the -X axis.

function
UKismetMathLibrary::Vector_BoundedToBox Engine

Clamps each component of InVect to [InBoxMin, InBoxMax] per axis, constraining the point to an arbitrary axis-aligned bounding box.

function
UKismetMathLibrary::Vector_BoundedToCube Engine

Clamps each component of a vector to lie within [-InRadius, InRadius], effectively constraining the vector to an axis-aligned cube centered at the origin.

function
UKismetMathLibrary::Vector_ClampSize2D Engine

Returns a copy of a vector with its XY (2D) magnitude clamped between Min and Max.

function
UKismetMathLibrary::Vector_ClampSizeMax Engine

Returns a copy of a vector with its magnitude clamped to at most Max, preserving direction.

function
UKismetMathLibrary::Vector_ClampSizeMax2D Engine

Returns a copy of a vector with its XY (horizontal) magnitude clamped to at most Max.

function
UKismetMathLibrary::Vector_ComponentMax Engine

Returns a vector whose each component is the maximum of the corresponding components from A and B: (max(A.

function
UKismetMathLibrary::Vector_ComponentMin Engine

Returns a vector whose each component is the minimum of the corresponding components from A and B: (min(A.

function
UKismetMathLibrary::Vector_CosineAngle2D Engine

Returns the cosine of the angle between two vectors projected onto the XY plane, ignoring Z.

function
UKismetMathLibrary::Vector_Distance Engine

Returns the Euclidean distance between two 3D points.

function
UKismetMathLibrary::Vector_Distance2D Engine

Returns the Euclidean distance between two points in the XY plane, ignoring the Z component.

function
UKismetMathLibrary::Vector_Distance2DSquared Engine

Returns the squared XY-plane distance between two 3D points without a square root.

function
UKismetMathLibrary::Vector_DistanceSquared Engine

Returns the squared Euclidean distance between two 3D points without computing a square root.