Class RegressionTests | Terrain Tools | 3.0.2-preview.3
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 10 November 2020