Matrix4.Concatenate

Matrix4.Concatenate method

Concatenates the two matrices

public Matrix4 Concatenate(Matrix4 m2)
ParameterTypeDescription
m2Matrix4M2.

Return Value

New matrix4

Examples

var t = Matrix4.Translate(0, 10, 9);
var s = Matrix4.Scale(10, 10, 10);
var transform = t.Concatenate(s);
var pos = new Vector3(10, 0, -1);
var transformed = transform * pos;

See Also