Pipe | ProBuilder | 4.3.1
docs.unity3d.com
    Show / Hide Table of Contents

    Pipe

    The pipe shape is similar to the ProBuilder Cylinder, but hollow. It has similar properties, but you can also specify the thickness of the pipe wall.

    Pipe shapes

    A Basic pipe shape (default values)

    B Pipe with increased number of height segments (faces per side)

    C Pipe with three sides and increased height

    D Pipe with increased number of sides and thickness

    You can customize the shape of a pipe with these shape properties:

    Pipe shape properties

    Property: Description:
    Radius Set the radius (width) of the pipe in meters. The default value is 1. Minimum value is 0.1.
    Height Set the height of the pipe in meters. The default value is 2. Minimum value is 0.1.
    Thickness Set the thickness of the walls of the pipe in meters. When this value approaches the Radius value, the hole becomes smaller. The default value is 0.2. Valid values range from 0.01 to the Radius value minus 0.01.
    Number of Sides Set the number of sides for the pipe. The more sides you use (relative to the size of the Radius), the smoother the sides of the pipe become. The default value is 6. Valid values range from 3 to 32.
    Height Segments Set the number of divisions to use for the height of the pipe. For example, using a value of 3 produces four faces on every side of the pipe. The default value is 1. Valid values range from 0 to 32.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023