FMatrix4RowToVector Method

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

Definition

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

Parameters

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

Return Value

FVector4
Reference to a new single precision floating-point 4D vector containing values from the specified row, 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 row.

See Also