constructor( editor, object = null, mapName = '', newMap = null, materialSlot = - 1 ) {

		super( editor );

		this.type = 'SetMaterialMapCommand';
		this.name = editor.strings.getKey( 'command/SetMaterialMap' ) + ': ' + mapName;

		this.object = object;
		this.materialSlot = materialSlot;

		const material = ( object !== null ) ? editor.getObjectMaterial( object, materialSlot ) : null;

		this.oldMap = ( object !== null ) ? material[ mapName ] : undefined;
		this.newMap = newMap;

		this.mapName = mapName;

	}
@param {Editor} editor
@param {THREE.Object3D|null} [object=null]
@param {string} [mapName='']
@param {THREE.Texture|null} [newMap=null]
@param {number} [materialSlot=-1]
@constructor