Packageaway3d.overlays
Classpublic class LensFlare
InheritanceLensFlare Inheritance flash.display.Sprite
ImplementsIOverlay

Public Properties
 PropertyDefined by
  alphaFactor : Number = 50
LensFlare
  alphaMax : Number = 1
LensFlare
  alphaMin : Number = 0.5
LensFlare
  burnFactor : Number = 10
LensFlare
  burnMethod : uint
[write-only]
LensFlare
  haloScaleFactor : Number = 50
LensFlare
  rotationFactor : Number = 0.25
LensFlare
  scaleFactor : Number = 50
LensFlare
  scaleMax : Number = 3
LensFlare
  spreadFactor : Number = 0.5
LensFlare
  useAlpha : Boolean = true
LensFlare
  useBurning : Boolean = true
LensFlare
  useRotation : Boolean = true
LensFlare
  useScaling : Boolean = true
LensFlare
Public Methods
 MethodDefined by
  
LensFlare
(source:Object3D, camera:Camera3D)
LensFlare
  
addFlareAsset(sprite:Sprite, cacheAsBitmap:Boolean = false):void
LensFlare
  
setBurnClip(sprite:Sprite):void
LensFlare
  
setHaloAsset(sprite:Sprite):void
LensFlare
  
update():void
LensFlare
Public Constants
 ConstantDefined by
  BURN_METHOD_BRIGHTNESS : uint = 1
[static]
LensFlare
  BURN_METHOD_COLOR_TRANSFORM : uint = 0
[static]
LensFlare
Property detail
alphaFactorproperty
public var alphaFactor:Number = 50
alphaMaxproperty 
public var alphaMax:Number = 1
alphaMinproperty 
public var alphaMin:Number = 0.5
burnFactorproperty 
public var burnFactor:Number = 10
burnMethodproperty 
burnMethod:uint  [write-only]Implementation
    public function set burnMethod(value:uint):void
haloScaleFactorproperty 
public var haloScaleFactor:Number = 50
rotationFactorproperty 
public var rotationFactor:Number = 0.25
scaleFactorproperty 
public var scaleFactor:Number = 50
scaleMaxproperty 
public var scaleMax:Number = 3
spreadFactorproperty 
public var spreadFactor:Number = 0.5
useAlphaproperty 
public var useAlpha:Boolean = true
useBurningproperty 
public var useBurning:Boolean = true
useRotationproperty 
public var useRotation:Boolean = true
useScalingproperty 
public var useScaling:Boolean = true
Constructor detail
LensFlare()constructor
public function LensFlare(source:Object3D, camera:Camera3D)Parameters
source:Object3D
 
camera:Camera3D
Init Parameters
Method detail
addFlareAsset()method
public function addFlareAsset(sprite:Sprite, cacheAsBitmap:Boolean = false):void Parameters
sprite:Sprite
 
cacheAsBitmap:Boolean (default = false)
setBurnClip()method 
public function setBurnClip(sprite:Sprite):void Parameters
sprite:Sprite
setHaloAsset()method 
public function setHaloAsset(sprite:Sprite):void Parameters
sprite:Sprite
update()method 
public function update():void
Constant detail
BURN_METHOD_BRIGHTNESSconstant
public static const BURN_METHOD_BRIGHTNESS:uint = 1
BURN_METHOD_COLOR_TRANSFORMconstant 
public static const BURN_METHOD_COLOR_TRANSFORM:uint = 0
Wiki link
Click to go to the wiki page for 'away3d.overlays.LensFlare'

Code examples

Comments