Obsolete Members for QMatrix4x4

以下成員源於類 QMatrix4x4 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) void flipCoordinates ()

相關非成員

(obsolete) QGenericMatrix<N, M, float> qGenericMatrixFromMatrix4x4 (const QMatrix4x4 & matrix )
(obsolete) QMatrix4x4 qGenericMatrixToMatrix4x4 (const QGenericMatrix<N, M, float> & matrix )

成員函數文檔編製

void QMatrix4x4:: flipCoordinates ()

Flips between right-handed and left-handed coordinate systems by multiplying the y and z co-ordinates by -1. This is normally used to create a left-handed orthographic view without scaling the viewport as ortho () 所做的。

另請參閱 ortho ().

相關非成員

QGenericMatrix < N , M , float > qGenericMatrixFromMatrix4x4 (const QMatrix4x4 & matrix )

Returns a NxM generic matrix constructed from the left-most N columns and top-most M rows of matrix . If N or M is greater than 4, then the remaining elements are filled with elements from the identity matrix.

另請參閱 QMatrix4x4::toGenericMatrix ().

QMatrix4x4 qGenericMatrixToMatrix4x4 (const QGenericMatrix < N , M , float > & matrix )

Returns a 4x4 matrix constructed from the left-most 4 columns and top-most 4 rows of matrix 。若 matrix has less than 4 columns or rows, the remaining elements are filled with elements from the identity matrix.