public WRotateActorAction(IEnumerable <WDOMNode> actors, WActorEditor actorEditor, Quaternion delta, FTransformSpace transformSpace, bool isDone, WUndoCommand parent = null) : base("Rotate", parent) { m_affectedActors = new List <WDOMNode>(actors); m_actorEditor = actorEditor; m_delta = delta; m_isDone = isDone; m_transformSpace = transformSpace; }
public WTranslateCameraPropertyAction(IEnumerable <BindingVector3> properties, IEditorModeGizmo mode, Vector3 delta, FTransformSpace transformSpace, bool isDone, WUndoCommand parent = null) : base("Move", parent) { m_affectedProperties = new List <BindingVector3>(properties); m_mode = mode; m_delta = delta; m_isDone = isDone; m_transformSpace = transformSpace; }
public WTranslateActorAction(IEnumerable <WDOMNode> actors, IEditorModeGizmo mode, Vector3 delta, FTransformSpace transformSpace, bool isDone, WUndoCommand parent = null) : base("Move", parent) { m_affectedActors = new List <WDOMNode>(actors); m_mode = mode; m_delta = delta; m_isDone = isDone; m_transformSpace = transformSpace; }
public WTranslateActorAction(WDOMNode[] actors, WActorEditor actorEditor, Vector3 delta, FTransformSpace transformSpace, bool isDone, WUndoCommand parent = null) : base("Move", parent) { m_affectedActors = new List <WDOMNode>(actors); m_actorEditor = actorEditor; m_delta = delta; m_isDone = isDone; m_transformSpace = transformSpace; }
public void SetTransformSpace(FTransformSpace space) { m_transformSpace = space; if (space == FTransformSpace.World) { m_rotation = Quaternion.Identity; } else { m_rotation = m_localRotation; } }