• Manual
  • Scripting API
  • Asset Store
  • TycoonTerrain.Core.TerrainOperations
Search Results for

    Show / Hide Table of Contents
    • TycoonTerrain.Components
      • TycoonTileRendererBase
    • TycoonTerrain.Core
      • BoundsContainer
      • BoundsReservationRegister
      • CallbackHandle
      • CallbacksRegister
      • CardinalDirection
      • ChunkSet
      • ConstructableDefinition
      • CornerIndex
      • Extensions
      • IChunkListener
      • IntBound
      • LandTile
      • OnBoundsChangeCallback
      • PlacementValidResult
      • SurfaceOverlayMesh
      • TerrainGrid
      • TerrainModifiedEvent
      • TerrainSelection
      • TerrainTypeCollectionAsset
      • TerrainTypeDefinition
      • TerrainTypeTable
      • TileCorner
      • TileHandle
      • TilePosition
      • TileType
      • TycoonTileMap
      • TycoonTileRaycastHit
    • TycoonTerrain.Core.Generation
      • TerrainGenerationJob
    • TycoonTerrain.Core.Rendering
      • ChunkMesh
      • IMesh
      • NativeMeshData
      • RenderTerrainCliffChunkJob
      • RenderTerrainSurfaceChunkJob
      • RenderWaterChunkJob
      • RenderWaterCliffChunkJob
      • SubMeshTriangle
    • TycoonTerrain.Core.TerrainOperations
      • ClearWaterBodyOperation
      • CopyHeightMapOperation
      • CreateWaterBodyFloodOperation
      • DecreaseHeightCliffOperation
      • DecreaseHeightCorner
      • DecreaseHeightSmoothConnectedOperation
      • GetTilesInWaterBody
      • IncreaseHeightCliffOperation
      • IncreaseHeightCorner
      • IncreaseHeightSmoothConnectedOperation
      • ITerrainOperation
      • MaxHeightSmooth
      • OperationContext
      • OperationResult
      • SetHeightOperation
      • SetTileTypeInBoundsOperation
      • SetWaterLevelOperation
    • TycoonTerrain.Previewers
      • BuildingToolPreviewer
      • PreviewMeshes
      • TerrainPainterPreviewer
      • TerrainSelectionPreviewer
      • ToolPreviewerBase<T>
    • TycoonTerrain.Tools
      • BuildingTool
      • PainterTool
      • SceneryTool
      • SelectionToolBase
      • SnappingMode
      • TerraformingTool
      • ToolBase
      • WaterTool

    Namespace TycoonTerrain.Core.TerrainOperations

    Classes

    OperationContext

    The operation context contains references to the most important pieces of information about a Tycoon Tile map.

    Structs

    ClearWaterBodyOperation

    This operation is responsible for removing all water that is connected to the water in the origin tile.

    CopyHeightMapOperation

    Copies the heightmap data of all tiles to a byte array.

    CreateWaterBodyFloodOperation

    This operation will create a water body using a floodfill, starting from a given position and water level. Neighbouring tiles will also be filled with water as long as any of the neighbour height are below water level.

    DecreaseHeightCliffOperation

    This operation will decrease the height of the tiles within the specified bounds, starting from the highest corners within that bound. Cliffs will be generated at the bounds edges.

    DecreaseHeightCorner

    This operation will decrease the height of the specified tile corner. Cliffs will be generated at the bounds edges.

    DecreaseHeightSmoothConnectedOperation

    This operation will decrease the height of the tiles within the specified bounds, starting from the highest corners within that bound. Neighbouring tiles heights will increase as necessary, as to not generate cliffs.

    GetTilesInWaterBody

    This operation will retrieve all tile positions that belong to the same water body. That is, all connected water tiles with the same water level.

    IncreaseHeightCliffOperation

    This operation will increase the height of the tiles within the specified bounds, starting from the lowest corners within that bound. Cliffs will be generated at the bounds edges.

    IncreaseHeightCorner

    This operation will increase the height of the specified tile corner. Cliffs will be generated at the bounds edges.

    IncreaseHeightSmoothConnectedOperation

    This operation will increase the height of the tiles within the specified bounds, starting from the highest corners within that bound. Neighbouring tiles heights will increase as necessary, as to not generate cliffs.

    MaxHeightSmooth

    OperationResult

    Container for all modifications that were generated in a terrain operation.

    SetHeightOperation

    Sets the tile heights to a given height for all tiles within the given bounds.

    SetTileTypeInBoundsOperation

    Changes the terrain within a given bounds to a given tile type.

    SetWaterLevelOperation

    This operation sets the water level to a given level for all given tiles positions.

    Interfaces

    ITerrainOperation

    Standard interface to apply modifications to a Tycoon Tile terrain. Any modifications done to tiles should be registered through the operation results parameter.

    In This Article
    • Classes
    • Structs
    • Interfaces
    Back to top Tycoon Tile documentation