Package | away3d.overlays |
Class | public class LensFlare |
Inheritance | LensFlare flash.display.Sprite |
Implements | IOverlay |
Property | Defined 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 |
Method | Defined by | ||
---|---|---|---|
LensFlare | |||
addFlareAsset(sprite:Sprite, cacheAsBitmap:Boolean = false):void
| LensFlare | ||
setBurnClip(sprite:Sprite):void
| LensFlare | ||
setHaloAsset(sprite:Sprite):void
| LensFlare | ||
update():void
| LensFlare |
Constant | Defined by | ||
---|---|---|---|
BURN_METHOD_BRIGHTNESS : uint = 1 [static]
| LensFlare | ||
BURN_METHOD_COLOR_TRANSFORM : uint = 0 [static]
| LensFlare |
alphaFactor | property |
public var alphaFactor:Number = 50
alphaMax | property |
public var alphaMax:Number = 1
alphaMin | property |
public var alphaMin:Number = 0.5
burnFactor | property |
public var burnFactor:Number = 10
burnMethod | property |
burnMethod:uint
[write-only]Implementation
public function set burnMethod(value:uint):void
haloScaleFactor | property |
public var haloScaleFactor:Number = 50
rotationFactor | property |
public var rotationFactor:Number = 0.25
scaleFactor | property |
public var scaleFactor:Number = 50
scaleMax | property |
public var scaleMax:Number = 3
spreadFactor | property |
public var spreadFactor:Number = 0.5
useAlpha | property |
public var useAlpha:Boolean = true
useBurning | property |
public var useBurning:Boolean = true
useRotation | property |
public var useRotation:Boolean = true
useScaling | property |
public var useScaling:Boolean = true
LensFlare | () | constructor |
public function LensFlare(source:Object3D, camera:Camera3D)
Parameters
source:Object3D |
|
camera:Camera3D |
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
BURN_METHOD_BRIGHTNESS | constant |
public static const BURN_METHOD_BRIGHTNESS:uint = 1
BURN_METHOD_COLOR_TRANSFORM | constant |
public static const BURN_METHOD_COLOR_TRANSFORM:uint = 0