Utility Options
The Utility Options group of the Fog Of War World inspector. These pre-size GPU/CPU buffers and set the world dimensionality. Keep the limits as low as is reasonable to minimize memory use. Labels match the inspector; the code field name is noted where it differs.
Note
These can't be changed at runtime.
| Property | Type | Default | Description |
|---|---|---|---|
| Max Num Revealers | int | 256 | Maximum revealers active at once. Sizes the GPU buffer. Code: MaxPossibleRevealers. |
| Max Num Segments Per Revealer | int | 128 | Maximum sight segments a single revealer can produce. Too low causes errors. Code: MaxPossibleSegmentsPerRevealer. |
| Initial Hider Pool Capacity | int | 512 | Initial hider capacity. Auto-resizes if exceeded, but that causes a hitch. Code: MaxPossibleHiders. |
| Is 2D? | bool | false | Switches the system to 2D mode (uses the XY plane and 2D physics). Code: is2D. |
| Game Plane | enum | XZ | (3D only) The world plane the fog is calculated on: XZ, XY, or ZY. Code: GamePlaneOrientation. |