API Docs for: 1.0.2
Show:

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 Number

    distance from where opacity begins

  • far Number

    distance from where opacity will be 1.0

Item Index