Struct RenderWaterCliffChunkJob
This job is responsible for rendering the water cliffs, at the map edges, to a mesh.
Namespace: TycoonTerrain.Core.Rendering
Assembly: TycoonTerrainAssembly.dll
Syntax
public struct RenderWaterCliffChunkJob : IJob
Constructors
RenderWaterCliffChunkJob(IntBound, TerrainGrid, NativeMeshData, Single, Single)
Initializes a new instance of the Render
Declaration
public RenderWaterCliffChunkJob(IntBound bounds, TerrainGrid grid, NativeMeshData nativeMeshData, float tileStepHeight, float waterStepHeight)
Parameters
Type | Name | Description |
---|---|---|
Int |
bounds | The bounds. |
Terrain |
grid | The grid. |
Native |
nativeMeshData | The native mesh data. |
Single | tileStepHeight | Height in world space per tile height step. |
Single | waterStepHeight | The height in world space per water step. |
Properties
NativeMeshData
Gets the native mesh data.
Declaration
public NativeMeshData NativeMeshData { get; }
Property Value
Type | Description |
---|---|
Native |
The native mesh data. |
Methods
Execute()
Declaration
public void Execute()