Class RegressionTests | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class RegressionTests

    Inheritance
    Object
    RegressionTests
    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public class RegressionTests

    Methods

    Cleanup()

    Declaration
    public void Cleanup()

    Setup()

    Declaration
    public void Setup()

    TerrainToolboxUtilites_WhenApplySplatmaps_DoesNotDividebyZero()

    Declaration
    public void TerrainToolboxUtilites_WhenApplySplatmaps_DoesNotDividebyZero()

    TerrainToolboxUtilites_WhenExportHeightmap_LevelCorrectionWorks(Single, Single, Heightmap.Format, Heightmap.Depth)

    Declaration
    public void TerrainToolboxUtilites_WhenExportHeightmap_LevelCorrectionWorks(float min, float max, Heightmap.Format format, Heightmap.Depth depth = Heightmap.Depth.Bit16)
    Parameters
    Type Name Description
    Single min
    Single max
    Heightmap.Format format
    Heightmap.Depth depth

    TerrainToolboxUtilites_WhenSelectSplatmap_DoesNotIndexOutOfRange()

    Declaration
    public void TerrainToolboxUtilites_WhenSelectSplatmap_DoesNotIndexOutOfRange()

    TerrainToolboxUtilites_WhenSplitTerrain_MissingTrees(Int32, Int32, Int32, Int32)

    Declaration
    public void TerrainToolboxUtilites_WhenSplitTerrain_MissingTrees(int amountOfTreesX, int amountOfTreesZ, int tileXAxis, int tileZAxis)
    Parameters
    Type Name Description
    Int32 amountOfTreesX
    Int32 amountOfTreesZ
    Int32 tileXAxis
    Int32 tileZAxis

    TerrainToolboxUtilities_WhenApplySplatmaps_DoesNotModifyColorData()

    Declaration
    public void TerrainToolboxUtilities_WhenApplySplatmaps_DoesNotModifyColorData()

    TerrainToolboxUtilities_WhenSplitTerrain_HeightmapResolutionIsCorrect(Int32, Int32, Int32)

    Declaration
    public void TerrainToolboxUtilities_WhenSplitTerrain_HeightmapResolutionIsCorrect(int xSplit, int zSplit, int originalHeightmapRes)
    Parameters
    Type Name Description
    Int32 xSplit
    Int32 zSplit
    Int32 originalHeightmapRes
    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