Constructor
new FogExp2(coloropt, densityopt)
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. |
Members
color :t3d.Color3
The color of the fog.
Type:
- Default Value
- t3d.Color3(0x000000)
density :Number
The density of the exp2 fog.
Type:
- Number
- Default Value
- 0.00025
(readonly) isFogExp2 :Boolean
Type:
- Boolean
- Default Value
- true