docs.unity3d.com
    Show / Hide Table of Contents

    Create a custom Terrain tool

    Terrain Tools is a package that supplements the built-in Terrain and Editor Tools API. You can use it to create and develop your own custom tools for Terrain.

    To create your own Terrain Tool, you only need one script. After you create the script, your tool appears in the list of available Paint Terrain tools in the Inspector.

    Additionally, if you want to override an existing tool, look up the string value that the built-in tool's GetName() method returns, and make sure your tool has the same name.

    • Create your tool script
    • Add UI for Brush controls
    • Modify the Terrain heightmap
    • Custom Terrain Tool shaders
    • Filter Stacks, Filters, and procedural masks
    • Shortcut handlers
    Back to top
    Terms of use
    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