Door | ProBuilder | 4.1.2
docs.unity.cn
    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 Total Width

    B Total Height

    C Total Depth

    D Door Height

    E Leg Width

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

    Door shape properties

    Property: Description:
    Total Width Set the total width of the door in meters. The default value is 4. The minimum value is 1.
    Total Height Set the total height of the door in meters. The default value is 4. The minimum value is 1.
    Total Depth Set the depth of the wall that separates the two rooms in meters. The default value is 0.5. The minimum value is 0.01.
    Door Height Set the height of the top of the door frame in meters. The default value is 1. The minimum value is 0.01.
    Leg Width Set the width of the door frame on the sides in meters. The default value is 1. Valid values range from 0.01 to half of the Total Width value.
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX