Constructor
new Fog(coloropt, nearopt, faropt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
color | Number | <optional> | 0x000000 | The color of the fog. |
near | Number | <optional> | 1 | The near clip of the fog. |
far | Number | <optional> | 1000 | The far clip of the fog. |
Members
color :t3d.Color3
The color of the fog.
Type:
- Default Value
- t3d.Color3(0x000000)
far :Number
The far clip of the fog.
Type:
- Number
- Default Value
- 1000
(readonly) isFog :Boolean
Type:
- Boolean
- Default Value
- true
near :Number
The near clip of the fog.
Type:
- Number
- Default Value
- 1