# [name]

A 4x4 Matrix.

## Example

`// Simple rig for rotating around 3 axes var m = new THREE.Matrix4(); var m1 = new THREE.Matrix4(); var m2 = new THREE.Matrix4(); var m3 = new THREE.Matrix4(); var alpha = 0; var beta = Math.PI; var gamma = Math.PI/2; m1.setRotationX( alpha ); m2.setRotationY( beta ); m3.setRotationZ( gamma ); m.multiply( m1, m2 ); m.multiplySelf( m3 );`

## Constructor

### [name]( [page:Float n11], [page:Float n12], [page:Float n13], [page:Float n14], [page:Float n21], [page:Float n22], [page:Float n23], [page:Float n24], [page:Float n31], [page:Float n32], [page:Float n33], [page:Float n34], [page:Float n41], [page:Float n42], [page:Float n43], [page:Float n44] )

## Properties

### .[page:Float n11]

### .[page:Float n12]

### .[page:Float n13]

### .[page:Float n14]

### .[page:Float n21]

### .[page:Float n22]

### .[page:Float n23]

### .[page:Float n24]

### .[page:Float n31]

### .[page:Float n32]

### .[page:Float n33]

### .[page:Float n34]

### .[page:Float n41]

### .[page:Float n42]

### .[page:Float n43]

### .[page:Float n44]

## Methods

### .set( [page:Float n11], [page:Float n12], [page:Float n13], [page:Float n14], [page:Float n21], [page:Float n22], [page:Float n23], [page:Float n24], [page:Float n31], [page:Float n32], [page:Float n33], [page:Float n34], [page:Float n41], [page:Float n42], [page:Float n43], [page:Float n44] ) [page:Matrix4]

Sets all fields of this matrix.

### .identity() [page:Matrix4]

Resets this matrix to identity.

### .copy( [page:Matrix4 m] ) [page:Matrix4]

Copies a matrix m into this matrix.

### .lookAt( [page:Vector3 eye], [page:Vector3 center], [page:Vector3 up], ) [page:Matrix4]

Constructs a rotation matrix, looking from eye towards center with defined up vector.

### .multiply( [page:Matrix4 a], [page:Matrix4 b] ) [page:Matrix4]

Sets this matrix to a * b.

### .multiplySelf( [page:Matrix4 m] ) [page:Matrix4]

Multiplies this matrix by m.

### .multiplyToArray( [page:Matrix4 a], [page:Matrix4 b], [page:Array r] ) [page:Matrix4]

Sets this matrix to a * b and sets result into flat array r.
Destination array can be regular Array or TypedArray.

## Source

src/[path].js