What it does
FogRange writes to a 3D object: it sets rather than reads. It takes minDistance (a float) and maxDistance (a float), and returns nothing.
Syntax
FogRange(minDistance float, maxDistance float)Parameters
| Name | Type |
|---|---|
| minDistance | float |
| maxDistance | float |
Every form returns
nothing
Example · generated
FogRange(1.0, 1.0)DO Sync()LOOPFogRange is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.