2D Editing Helpers

2D Editing Helpers

The SceneComposer offers a set of editing helpers that allow editing 2D scenes as simple and intuitive as possible.

All editing aids which have a visual presentation are configurable so that the user can disable them easily if not desired. This can be done from the dialog that opens from "File" > "Preferences" menu under the "Editor" node, the "2D" option.

drawing-5-1724401581.png

In 2D scenes, SceneComposer offers the following entries in the 2D section of Editor-Preferences:

You can also find some 2D Editing Aids in the "View" menu in section "2D Editing Utilities".

drawing-5-1724401678.png

Scene Design Helpers

Rulers

Rulers provide a sense on the world space that the camera viewport bounds; display measuring points and their corresponding values (numbers).


World Transformations

To use the World Transformations, enable this option and select an object in the Scene Editor Window. Now,a tooltip is displayed in the lower left corner of the Scene Editor that shows absolute coordinates and sizes.

drawing-5-1724401872.png

The following values are displayed: 


Snapping

Grid

Grid represents a collection of points (1px) laid at a configurable step size for each axis (step in pixels for x or for y).

Snap to Grid

Snap to grid enables an object to become aligned to the grid when being translated.

Snap to Guidelines

Snap to guidelines enables an object to be aligned to a guideline when being translated. A guideline represents a simple line, locked to a predefined world-space coordinate value.

Guidelines

drawing-5-1724401930.png
Snap to Objects

Snap to objects enables an object to be aligned to another object's rendering area when being translated. The rendering area is the area that bounds the vertices of the bounding box of the object.


Positioning

Move to back/front, move back/front

This feature allows the user to manipulate objects such that they can be placed on top-most level, or sent to background. Layering is done through a property called DepthValue, in a range of 0..255.

The following operations are available:

drawing-5-1733490211.png

You can manipulate these values from the context menu, or by setting the value of property DephValue from Properties panel.

Object alignment (top, middle, bottom, left, center, right / relative to other objects)

This feature enables automatically re-positioning of objects such that they are aligned on a specific criterion. Only render nodes and groups are eligible for alignment and this feature applies to a selection consisting of at least 2 render nodes and/or groups.

First selected object serves as reference for alignment.

The object alignment feature is available for the 2D scenes by selecting the appropriate button from the Toolbar. Each button corresponds to a criterion of alignment.

drawing-5-1724402302.png
Available criteria
Geometric center localizer

For all selected objects (render nodes, groups, cameras) the geometric center (center = (0, 0) point in the local coordinate system) will be displayed as an image of a small dimension consisting of a circle and a dot in the center of the circle. It represents the pivoting point for rotation or translation transformation.

drawing-5-1724402750.png

Three translate operations can be selected from the transformation combobox:

drawing-5-1724402897.png

After choosing the "PivotOnly" option for translate mode, the pivot will move only if the user starts dragging it inside the area delimited by the borders of the object.


Groups

For grouping elements on the same level add a group to the selected objects as parent if they are on the same level. From the SceneTree panel, keep Ctrl key pressed and select more objects. On the last object that is desired to be part of the group press right click and select the option "Create group" from the context menu.

drawing-5-1733490322.png


Revision #6
Created 2023-02-14 08:11:11 UTC by Kanai Tomoaki
Updated 2025-09-04 03:15:13 UTC by Kanai Tomoaki