Fogcomponent

FogComponent class

This component is used to activate a fog in the game. Use the studio to configure the fog for the space.

This is a singleton component. You can only have one fog in the game.

Signature:

export declare class FogComponent extends Component3D 

Extends: Component3D

Properties

Property

Modifiers

Type

Description

far

number

near

number

Methods

Method

Modifiers

Description

dispose()

protected

init()

protected