set_use_fog


Description:

[ Version ( deprecated = true , deprecated_since = "1.10" , since = "0.6" ) ]
public void set_use_fog (bool fog)

Warning: set_use_fog is deprecated since 1.10.

Sets whether the depth cueing effect on the stage should be enabled or not.

Note:

Calling this function produces no visible effect

Depth cueing is a 3D effect that makes actors farther away from the viewing point less opaque, by fading them with the stage color.

The parameters of the GL fog used can be changed using the set_fog function.

Parameters:

this

the Stage

fog

true for enabling the depth cueing effect