RealDocs

50 results for "FVector"

struct
FVector Core

A 3D vector with double-precision (UE 5.

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::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_VectorVector Engine

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

function
UKismetMathLibrary::BreakVector Engine

Decomposes an FVector into its three individual double components.

function
UKismetMathLibrary::BreakVector2D Engine

Decomposes an FVector2D into its individual X and Y double components via output parameters.

function
UKismetMathLibrary::BreakVector4 Engine

Decomposes an FVector4 into its four individual double-precision components via output parameters.

function
FMath::CartesianToPolar Core

Converts a 2D Cartesian coordinate pair to polar form (radius and angle).

function
UKismetMathLibrary::Conv_DoubleToVector Engine

Broadcasts a single double to all three components of an FVector, producing (InDouble, InDouble, InDouble).

function
UKismetMathLibrary::Conv_DoubleToVector2D Engine

Broadcasts a single double to both components of an FVector2D, producing (InDouble, InDouble).

function
UKismetMathLibrary::Conv_IntPointToVector2D Engine

Converts an FIntPoint to an FVector2D by casting its integer X and Y components to double.

function
UKismetMathLibrary::Conv_IntToVector Engine

Broadcasts a single integer to all three components of an FVector, producing (InInt, InInt, InInt) as doubles.

function
UKismetMathLibrary::Conv_IntVector2ToVector2D Engine

Converts an FIntVector2 (two int32 components) to an FVector2D (two doubles) component-wise.

function
UKismetMathLibrary::Conv_IntVectorToVector Engine

Converts an FIntVector (three int32 components) to an FVector (three doubles) component-wise.

function
UKismetMathLibrary::Conv_LinearColorToVector Engine

Converts a FLinearColor to a FVector by mapping R→X, G→Y, B→Z and discarding the alpha channel.

function
UKismetMathLibrary::Conv_Vector4ToQuaternion Engine

Converts a FVector4 direction into a FQuat orientation that points in that direction with no roll.

function
UKismetMathLibrary::Conv_Vector4ToVector Engine

Converts a Vector4 to a 3-component FVector by dropping the W element.

function
UKismetMathLibrary::Conv_VectorToVector2D Engine

Extracts the X and Y components of a 3D vector into an FVector2D, discarding the Z component entirely.

function
UKismetMathLibrary::Divide_Vector4Vector4 Engine

Returns the element-wise division of two FVector4 values: {A.

function
AActor::GetActorScale Engine

Returns the world-space scale of the actor's RootComponent as an FVector.

function
AActor::GetActorScale3D Engine

Returns the actor's world-space scale as an FVector with X, Y, and Z scale factors.

function
UKismetMathLibrary::GetForwardVector Engine

Returns the world-space unit vector pointing in the forward (X+) direction for the given rotation.

function
AActor::GetInputVectorAxisValue Engine

Returns the current value of a vector-type input axis key as an FVector.

function
UKismetMathLibrary::GetRightVector Engine

Returns the world-space unit vector pointing in the right (Y+) direction for the given rotation.

function
AActor::GetSimpleCollisionCylinderExtent Engine

Returns the simple collision cylinder as an FVector(Radius, Radius, HalfHeight), convenient for axis-aligned extent comparisons and box overlap approximations.

function
UKismetMathLibrary::GetUpVector Engine

Returns the world-space unit vector pointing in the up (Z+) direction for the given rotation.

function
UBlackboardComponent::GetValueAsVector AIModule

Returns the FVector stored under the given blackboard key.

function
UKismetMathLibrary::MakeVector Engine

Constructs an FVector from three individual double components.

function
UKismetMathLibrary::MakeVector2D Engine

Constructs an FVector2D from explicit X and Y double values.

function
UKismetMathLibrary::MakeVector4 Engine

Constructs an FVector4 from four double-precision components.

function
UKismetMathLibrary::Matrix_GetColumn Engine

Returns the specified column of the matrix as an FVector (ignoring the 4th/W row element).

function
UKismetMathLibrary::Matrix_SetColumn Engine

Writes an FVector into the specified column of the matrix in-place.

function
UKismetMathLibrary::Matrix_TransformPosition Engine

Transforms a 3D position vector by the matrix, including the translation component.

function
UKismetMathLibrary::Matrix_TransformVector4 Engine

Transforms a homogeneous FVector4 by the full 4x4 matrix.

function
UKismetMathLibrary::Multiply_Vector4Vector4 Engine

Returns the element-wise product of two FVector4 values: {A.

function
UKismetMathLibrary::Quat_Euler Engine

Converts a quaternion into floating-point Euler angles in degrees, returned as an FVector (Pitch=Y, Yaw=Z, Roll=X).

function
UKismetMathLibrary::Quat_GetAxisX Engine

Returns the forward direction (local X axis) of the coordinate frame represented by this quaternion.

function
UKismetMathLibrary::Quat_GetAxisY Engine

Returns the right direction (local Y axis) of the coordinate frame represented by this quaternion.

function
UKismetMathLibrary::Quat_GetAxisZ Engine

Returns the up direction (local Z axis) of the coordinate frame represented by this quaternion.

function
UKismetMathLibrary::Quat_GetRotationAxis Engine

Returns the unit vector axis around which this quaternion rotates.

function
UKismetMathLibrary::Set2D Engine

Sets the X and Y components of an existing FVector2D variable in place.

function
UBlackboardComponent::SetValueAsVector AIModule

Writes an FVector to a blackboard key.

function
UKismetMathLibrary::Sqrt Engine

Returns the square root of A.