Skip to content
Draw mode

Draw mode

It takes about 20 minutes to read this article.

To help developers quickly understand and use Draw Mode, this article mainly contains the following two contents:

  1. Introduction to Draw Mode
  2. Draw Mode User Guide

1. Introduction to Draw Mode

1.1 What is Draw Mode

Draw Mode is a mode of placing resource objects into the scene. When Draw Mode is enabled in the toolbar, the selected resource object will follow the mouse cursor in the main viewport. Left-click in the main viewport to create the object at the cursor position; long-click and drag in the main viewport to create multiple models in quick succession in the dragged area.

1.2 When to Use Draw Mode

In projects, when building some simple and repetitive scenes, you can use draw mode to improve efficiency, such as trees, fences, floor tiles, and so on.

18493dd8-13c2-4ba5-ad53-25a8d5428291

1.3 Draw Mode Basic Rules

  • Only static models asset support use Draw Mode.
  • In Draw Mode, non-static models can still be added to the scenes by dragging and dropping.

2. Draw Mode User Guide

2.1 Select the drawing object

  • overview

    Follow the mouse cursor as you move in the main viewport that you want to create in the scene. An object is called a draw object. Currently editor support there are two ways to choose how to draw object, which are in Asset library and in Main viewport.

    61dc6abd-23a6-4752-9b0c-1367faca4f5b

  • Select the drawing object in the asset library

    In Draw Mode, when you click a static model in the asset library, the model is set to draw Object, following the mouse cursor as it moves in the main viewport.

    3a99d804-9db4-4ac0-b43e-840d05692f39

  • Select the drawing object in the main viewport

    In Draw Mode, right-click to select a static model in the main viewport, and select Set as Draw Object in the context menu. The static model asset is fetched and set as the drawing object, following the mouse cursor in the mainViewport. If the selected object has a mounted child, only the single model selected by the cursor is set as the draw object.

2.2 Draw in the scene

  • Draw a single model

    When the mouse cursor has a drawn object on it, Left-click in the main viewport, the default configuration in the property panel will be used to create the object where the cursor is.

    df44d152-5d86-4e0b-9246-2133ffeea490

  • Draw multiple models

    Method 1: Mouse drag to create. When the mouse cursor has a drawn object on it, in the main viewport hold down the left button and drag, one will appear predefined areas, release the left button, and create multiple objects consecutively in a predefined area.

    df0f5ead-e765-410f-aaae-f7f686e26f6b

    Method 2: Hold down Ctrl and drag the pivot create. When there is a draw object on the mouse cursor, hold down the Ctrl key and the draw object on the cursor will display a pivot, which can be dragged by dragging the pivot delineates predefined areas. When you release the left button, multiple objects are creating consecutively in a predefined area.

    66ecd08a-b182-4b22-95c3-088e5ad3f2c8

    If you release the left button without releasing the Ctrl key, the pivot will be displayed on the new drawing object after create object, and you can continue dragging pivot to create.

    31fa05e4-d739-4024-ab27-8babc6c7efed

  • Prediction Model

    After create object in the main viewport, if the mouse cursor is already there, on a certain side of the create object bounding box, the next placement is automatically calculated according to the axis direction of the surface where the cursor is located and generate a predictive model.

    b657c019-0381-4dd4-8143-4cddafecf297

    If you click the left mouse button when a prediction model has been generated, an object is generated at the location of the prediction model. The drawing object on the mouse cursor will automatically generate at the location of the next prediction model, after which a new prediction model will appear.

    af2bfd01-0e0d-47a0-8630-9cd50b7834be

    Left-clicking without moving the cursor will keep generate new draw object along the predictive model.

    56a03f5f-8b30-4e9a-859a-08da66a11e4f

2.3 Remove drawing objects

click mouse right-click to remove the drawing object on the mouse cursor.

5f5164cf-604a-4100-a0d3-016d199cef09