constructor( editor, object = null, newScale = null, optionalOldScale = null ) {

		super( editor );

		this.type = 'SetScaleCommand';
		this.name = editor.strings.getKey( 'command/SetScale' );
		this.updatable = true;

		this.object = object;

		if ( object !== null && newScale !== null ) {

			this.oldScale = object.scale.clone();
			this.newScale = newScale.clone();

		}

		if ( optionalOldScale !== null ) {

			this.oldScale = optionalOldScale.clone();

		}

	}
@param {Editor} editor
@param {THREE.Object3D|null} object
@param {THREE.Vector3|null} newScale
@param {THREE.Vector3|null} optionalOldScale
@constructor