constructor( editor, object = null, newPosition = null, optionalOldPosition = null ) {

		super( editor );

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

		this.object = object;

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

			this.oldPosition = object.position.clone();
			this.newPosition = newPosition.clone();

		}

		if ( optionalOldPosition !== null ) {

			this.oldPosition = optionalOldPosition.clone();

		}

	}
@param {Editor} editor
@param {THREE.Object3D|null} object
@param {THREE.Vector3|null} newPosition
@param {THREE.Vector3|null} optionalOldPosition
@constructor