Back to class index
| float3x4::float3x4Syntaxfloat3x4::float3x4(); [1 line of code]Creates a new float3x4 with uninitialized member values. [opaque-qtscript] Syntaxfloat3x4::float3x4(float _00, float _01, float _02, float _03, float _10, float _11, float _12, float _13, float _20, float _21, float _22, float _23); [8 lines of code]Constructs a new float3x4 by explicitly specifying all the matrix elements. The elements are specified in row-major format, i.e. the first row first followed by the second and third row. E.g. The element _10 denotes the scalar at second (index 1) row, first (index 0) column. Syntaxfloat3x4::float3x4(const float3x3 &other); [5 lines of code]Constructs this float3x4 to represent the same transformation as the given float3x3. This function expands the last row and column of this matrix with the elements from the identity matrix. Syntaxfloat3x4::float3x4(const float3x3 &other, const float3 &translate); [5 lines of code]Constructs this float3x4 to represent the same transformation as the given float3x3 and the given translation combined. The resulting matrix have its fourth column equal to the given translate vector, and the 3x3 top-left submatrix equal to the matrix other. This kind of matrix represents a transformation which first applies the matrix 'other', followed by a translation specified by the vector 'translate'. Syntaxfloat3x4::float3x4(const float3 &col0, const float3 &col1, const float3 &col2, const float3 &col3); [7 lines of code]Constructs the matrix by explicitly specifying the four column vectors. Parametersconst float3 &col0The first column. If this matrix represents a change-of-basis transformation, this parameter is the world-space direction of the local X axis. const float3 &col1The second column. If this matrix represents a change-of-basis transformation, this parameter is the world-space direction of the local Y axis. const float3 &col2The third column. If this matrix represents a change-of-basis transformation, this parameter is the world-space direction of the local Z axis. const float3 &col3The fourth column. If this matrix represents a change-of-basis transformation, this parameter is the world-space position of the local space pivot. Syntaxfloat3x4::float3x4(const Quat &orientation); [5 lines of code]Constructs this float3x4 from the given quaternion. Syntaxfloat3x4::float3x4(const Quat &orientation, const float3 &translation); [5 lines of code]Constructs this float3x4 from the given quaternion and translation. Logically, the translation occurs after the rotation has been performed. |