Provides static pre-blurred bitmap images for depth of field-effect
when used together with billboarded sprites, such as Billboards.
public static var aperture:Number = 22
public static var doflevels:Number = 16
public static var focus:Number
public static var maxblur:Number = 150
public static var usedof:Boolean = false
public function DofCache(levels:Number, material:BitmapMaterial)
Parameters
Init Parameters
public function getBitmapMaterial(depth:Number):BitmapMaterial
Parameters
Returns
public static function getDofCache(material:BitmapMaterial):DofCache
Parameters
Returns
public static function resetDof(enabled:Boolean):void
Parameters