public override void OnDragEnd(ShapeDragMode mode) { _bDragging = false; base.OnDragEnd(mode); }
public override void OnDragEnd(ShapeDragMode mode) { base.OnDragEnd(mode); this.AcquireEngineTransformation(); // force back to bone position }
public override void OnDragBegin(ShapeDragMode mode) { base.OnDragBegin(mode); _bDragging = true; }
/// <summary> /// Constructor /// </summary> /// <param name="defaultKey"></param> /// <param name="dragMode"></param> /// <param name="alternativeBinding">Assigns an alternative keybinding (enforced by returning a diffent value from ActionName)</param> public GizmoModeShortCut(Keys defaultKey, ShapeDragMode dragMode, bool alternativeBinding) : base(defaultKey) { _newMode = dragMode; _alternativeBinding = alternativeBinding; }
/// <summary> /// Constructor /// </summary> /// <param name="defaultKey"></param> /// <param name="dragMode"></param> public GizmoModeShortCut(Keys defaultKey, ShapeDragMode dragMode) : base(defaultKey) { _newMode = dragMode; }