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 RenderWaterCliffChunkJob struct.
Declaration
public RenderWaterCliffChunkJob(IntBound bounds, TerrainGrid grid, NativeMeshData nativeMeshData, float tileStepHeight, float waterStepHeight)
Parameters
Type | Name | Description |
---|---|---|
IntBound | bounds | The bounds. |
TerrainGrid | grid | The grid. |
NativeMeshData | 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 |
---|---|
NativeMeshData | The native mesh data. |
Methods
Execute()
Declaration
public void Execute()