function MoveAction(object, newParent, newIndex, keepGlobalPose)
{
	Action.call(this);
	
	this.object = object;

	this.oldParent = object.parent;
	this.oldIndex = this.oldParent.children.indexOf(this.object);

	this.newParent = newParent;
	this.newIndex = newIndex;

	this.keepGlobalPose = keepGlobalPose !== undefined ? keepGlobalPose : Editor.settings.editor.keepTransformMove;
}
Action to represent a object move in the children tree.

Objects can be moved between parents, and to specific positions (index).

If necessary the action can also calculate the inverse tranform to estimate new pose values to keep the global pose of the moved object the same.

@class MoveAction
@extends {Action}
@param {Object3D} object Object to be moved.
@param {Object3D} newParent New parent of the object.
@param {number} newIndex Index to insert the object.