Code Monkey home page Code Monkey logo

unity.terrainscalingtool's Introduction

[Unity] Terrain Scaling Tool

Unity editor utility for offsetting and/or scaling one or more terrains while preserving the world positions of the existing content. Displays a bounding-box of the current maximum bounds of the terrain as well as a live preview of the changes.

How to Use

After copying the TerrainScalingTool.cs script into your Unity project, the tool window can be accessed through [Tools] > Terrain > Scale. Enabling the preview option will store your terrains original data in-memory and show the results of any modifications. Since increasing the scale of your terrain decreases the precision of the height values, this can be useful to ensure signifigant details will not be lost.

note: Once details are applied, the previous terrain data can not be restored. if you do not leverage source control to revision your changes, it may be safer to first create a backup of your original data.

default

Offset

Allows terrain tile bounds to be shifted vertically while preserving the existing terrain. Caution: May cause existing data to be truncated at the minimum/maximum bounds.

offset

Scale

Allows terrain tile bounds to be scaled vertically while preserving the existing terrain. Caution: Values less than 1.0f may cause existing data to be truncated at the maximum bounds.

scale

unity.terrainscalingtool's People

Contributors

null511 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.