docs.unity3d.com
    Show / Hide Table of Contents

    Door

    The ProBuilder door shape provides a convenient door Mesh that you can set into a level wall. There are no polygons where it meets the wall, so you can place it directly into the wall.

    Door shape

    (A) Length (from the bounding box)

    (B) Height (from the bounding box)

    (C) Pediment Height

    (D) Side Width

    (E) Width (from the bounding box)

    You can customize the shape of a door with these shape-specific properties:

    Property: Description:
    Pediment Height Set the height of the top of the door frame in meters. The default value is 0.5. The minimum value is 0.01.
    Side Width Set the width of the door frame on the sides in meters. The default value is 0.75. The minimum value is 0.01.
    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