Struct RenderTerrainCliffChunkJob
Job that renders the tile cliffs for a given map chunk.
Namespace: TycoonTerrain.Core.Rendering
Assembly: TycoonTerrainAssembly.dll
Syntax
public struct RenderTerrainCliffChunkJob : IJob
Constructors
RenderTerrainCliffChunkJob(IntBound, TerrainGrid, TerrainTypeTable, Single, NativeMeshData)
Initializes a new instance of the RenderTerrainCliffChunkJob struct.
Declaration
public RenderTerrainCliffChunkJob(IntBound bounds, TerrainGrid grid, TerrainTypeTable typeTable, float tileStepHeight, NativeMeshData nativeMeshData)
Parameters
Type | Name | Description |
---|---|---|
IntBound | bounds | The area of terrain to render. |
TerrainGrid | grid | The grid. |
TerrainTypeTable | typeTable | The type table. |
Single | tileStepHeight | Height in world space per tile height step. |
NativeMeshData | nativeMeshData | The native mesh data. |
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()
See Also
Unity.Jobs.IJob