new FogExp2(coloropt, densityopt)
Exp2 fog.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
color |
number |
<optional> |
0x000000 | The color of the fog. |
density |
number |
<optional> |
0.00025 | The density of the exp2 fog. |
- Source:
Members
color :zen3d.Color3
The color of the fog.
Type:
- Default Value:
- zen3d.Color3(0x000000)
- Source:
density :number
The density of the exp2 fog.
Type:
- number
- Default Value:
- 0.00025
- Source: