docs.unity.cn

ProBuilder 5.0.7

    Show / Hide Table of Contents

    Creating a Mesh with the Poly Shape tool

    Use the Poly Shape tool to define a 2-dimensional custom shape (depth and width) and then extrude a 3-dimensional shape to define its height. Like the Shape tool, this is a modal tool that creates a new Mesh but also lets you re-activate the tool to edit the initial shape.

    Note: When you modify control points or settings, you lose any changes you made in editing the Mesh.

    A Poly Shape is a 3-dimensional shape extruded from any 2-dimensional polygon

    To define a custom Mesh:

    1. Open the ProBuilder window (in Unity's top menu: Tools > ProBuilder window).

      The Edit Mode toolbar and the ProBuilder toolbar appear.

    2. From the ProBuilder toolbar, click New Poly Shape (Poly Shape Icon).

      Tip: You can also access this tool from the ProBuilder menu (Tools > ProBuilder > Editors > New Poly Shape).

    3. In the Scene view, click to create control points. Control points form the outer bounds of your Mesh.

      You can click directly on another surface to create an outgrowth, even when that surface is on the y-axis.

      Making a 2D shape on the wall

    4. When you finish placing points, use either Enter (Windows), Return (macOS), or Spacebar to finalize the shape.

      Extruding the 2D shape into a 3D Mesh

    5. Move the mouse up and down to set the Mesh height. This extrudes a 3D Mesh from the 2D shape you defined with your control points.

    6. Click to exit create mode. Your new Mesh is now in editing mode so you can continue to modify it.

      Finished Poly Shape

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Wednesday, April 12, 2023
    Terms of use