
mistStart
- Get/set the distance from the camera that the mist starts
- float number
- 0.00 to 10,000.00
Mist Start setting in Blender 3D
- Properties menu >> World >> Mist >> Start

Sample Code
################ get the mist starting distance
# import bge module
import bge
# get the current scene
scene = bge.logic.getCurrentScene()
# get the world module
wrld = scene.world
# get the mist start
mist_begin = wrld.mistStart
Sample Code
################ set the mist starting distance
# import bge module
import bge
# get the current scene
scene = bge.logic.getCurrentScene()
# get the world module
wrld = scene.world
# set the mist starting distance to 1.0
wrld.mistStart = 1.00