FMatrix4ColumnToVector Method

Return a reference to a 4D vector representing the values in the specified column of the provided matrix.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
public static FVector4 ColumnToVector(
	FMatrix4 matrix,
	int columnIndex
)

Parameters

matrix  FMatrix4
Reference to the matrix containing the values to copy.
columnIndex  Int32
0-based ordinal index of the column to copy.

Return Value

FVector4
Reference to a new single precision floating-point 4D vector containing values from the specified column, if the matrix and column were legitimate. Otherwise, an empty FVector4.

Remarks

To maintain compatibility with 3D vectors, 'W' is treated as the fourth element of the column.

See Also