Table of Contents

Delegate ThresholdHook

Namespace
WorldgenLib
Assembly
WorldgenLib.VintageStory.dll

Hook delegate for step 7 (PerVoxelThreshold) — per-column, per-Y. Returns the modified threshold.

public delegate double ThresholdHook(ChunkContext chunk, ref ColumnContext col, int posY, double threshold)

Parameters

chunk ChunkContext
Hook delegate for step 7 (PerVoxelThreshold) — per-column, per-Y. Returns the modified threshold.
col ColumnContext
Hook delegate for step 7 (PerVoxelThreshold) — per-column, per-Y. Returns the modified threshold.
posY int
Hook delegate for step 7 (PerVoxelThreshold) — per-column, per-Y. Returns the modified threshold.
threshold double
Hook delegate for step 7 (PerVoxelThreshold) — per-column, per-Y. Returns the modified threshold.

Returns

double
Hook delegate for step 7 (PerVoxelThreshold) — per-column, per-Y. Returns the modified threshold.