• Manual
  • Scripting API
  • Asset Store
  • TycoonTerrain.Core
  • TileType
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

    Struct TileType

    Type that defines the type of a tile. Will in turn determine how the tile will look once rendered.

    Namespace: TycoonTerrain.Core
    Assembly: TycoonTerrainAssembly.dll
    Syntax
    public struct TileType : IEquatable<TileType>

    Constructors

    TileType(UInt16)

    Creates a new TileType instance with a given identifier.

    Declaration
    public TileType(ushort id)
    Parameters
    Type Name Description
    UInt16 id

    The identifier.

    Methods

    Equals(Object)

    Determines whether the specified Object, is equal to this instance.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The Object to compare with this instance.

    Returns
    Type Description
    Boolean

    true if the specified Object is equal to this instance; otherwise, false.

    Overrides
    ValueType.Equals(Object)

    Equals(TileType)

    Equalses the specified other.

    Declaration
    public bool Equals(TileType other)
    Parameters
    Type Name Description
    TileType other

    The other.

    Returns
    Type Description
    Boolean

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(TileType, TileType)

    Implements the operator ==.

    Declaration
    public static bool operator ==(TileType left, TileType right)
    Parameters
    Type Name Description
    TileType left

    The left.

    TileType right

    The right.

    Returns
    Type Description
    Boolean

    The result of the operator.

    Inequality(TileType, TileType)

    Implements the operator !=.

    Declaration
    public static bool operator !=(TileType left, TileType right)
    Parameters
    Type Name Description
    TileType left

    The left.

    TileType right

    The right.

    Returns
    Type Description
    Boolean

    The result of the operator.

    In This Article
    • Constructors
      • TileType(UInt16)
    • Methods
      • Equals(Object)
      • Equals(TileType)
      • GetHashCode()
    • Operators
      • Equality(TileType, TileType)
      • Inequality(TileType, TileType)
    Back to top Tycoon Tile documentation