GIScene.DistanceOpacityMaterial Class
A Material which sets opacity according to the distance to the camera. Close parts will be transparent, so you could watch inside a building, while the walls in the back are still opaque.
Constructor
GIScene.DistanceOpacityMaterial
(
-
near
-
far
Parameters:
-
near
Numberdistance from where opacity begins
-
far
Numberdistance from where opacity will be 1.0