From 5c13c7ae7bb3d22c0df0cb44b54ea2d755e6aba7 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 27 Jan 2020 16:50:09 +0100 Subject: [PATCH] Doc: Add information about how pivot offset is visualized Fixes: QDS-1543 Change-Id: I79b00c3e5b3c23f91bf6c6b8b670d53f7870e3a0 Reviewed-by: Miikka Heikkinen Reviewed-by: Mahmoud Badri --- .../src/qtquick3d-editor/qtdesignstudio-3d-editor.qdoc | 9 ++++++++- .../src/qtquick3d-editor/qtdesignstudio-3d-node.qdoc | 5 ++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-editor.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-editor.qdoc index 034a4817ab6..199c579bb7c 100644 --- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-editor.qdoc +++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-editor.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Design Studio documentation. @@ -64,6 +64,13 @@ unrotated camera). Dragging on the red arrow may affect two or three of the position values for the selected item in order to move it in global space. + The \e pivot of the component is used as the origin for position, scale, + and rotation operations. You can set a \l{Setting Transform Properties} + {local pivot offset} for an item in the \uicontrol Properties view to + manipulate the component around a point other than its local origin. A + line is drawn in the 3D editor from the pivot point to the center of the + component to provide a visual connection between them. + \section1 Controlling the Edit View Camera You can add 3D camera types to the scene to project the view you see in diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-node.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-node.qdoc index a13bb467253..211085fd3c4 100644 --- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-node.qdoc +++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-node.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Design Studio documentation. @@ -79,4 +79,7 @@ component away from the origin, allowing a component to rotate and scale around a point other than its local origin. Pivot values are applied before scaling and rotation values. + + A line is drawn in the 3D editor from the pivot point to the center of the + component to provide a visual connection between them. */