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

    Helper struct that stores the triangle index and tile type.

    Namespace: TycoonTerrain.Core.Rendering
    Assembly: TycoonTerrainAssembly.dll
    Syntax
    public struct SubMeshTriangle

    Constructors

    SubMeshTriangle(TileType, Int32)

    Initializes a new instance of the SubMeshTriangle struct.

    Declaration
    public SubMeshTriangle(TileType terrainType, int triangleIndex)
    Parameters
    Type Name Description
    TileType terrainType

    Type of the terrain.

    Int32 triangleIndex

    Index of the triangle.

    Properties

    TerrainType

    Gets the type of the terrain.

    Declaration
    public TileType TerrainType { get; }
    Property Value
    Type Description
    TileType

    The type of the terrain.

    TriangleIndex

    Gets the index of the triangle.

    Declaration
    public int TriangleIndex { get; }
    Property Value
    Type Description
    Int32

    The index of the triangle.

    In This Article
    • Constructors
      • SubMeshTriangle(TileType, Int32)
    • Properties
      • TerrainType
      • TriangleIndex
    Back to top Tycoon Tile documentation