Custom | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Custom

    You can define your own custom Mesh. To do this, you need to specify a set of vertices in the Custom Geometry field:

    // Vertical Plane
    0, 0, 0
    1, 0, 0
    0, 1, 0
    1, 1, 0
    

    The order to specify vertices is to follow a backwards Z pattern for each face:

    Order of vertices per face on a custom shape

    Repeat for each adjacent face until you have created the shape you want.

    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