尔冬橙

博客园 首页 新随笔 联系 订阅 管理

class: AlphaMaskFilter

Package: flare.materials.filters

Class: public class AlphaMaskFilter

Inheritance: AlphaMaskFilteràFLSLFilteràflash.events.EventDispatcher

Property Detail

threshold property

threshold:Number

Implementation

    public function get threshold():Number

    public function set threshold(value:Number):void

Constructor Detail

AlphaMaskFilter () Constructor

public function AlphaMaskFilter(threshold:Number = 0.5)

Parameters  threshold:Number (default = 0.5)

class:AnimatedTextureFilter

Property Detail

currentFrame property

currentFrame:Number

Implementation

    public function get currentFrame():Number

    public function set currentFrame(value:Number):void

frames property  

public var frames:Vector.<Rectangle>

frameSpeed property  

public var frameSpeed:Number = 1

isPlaying property  

isPlaying:Boolean  [read-only]

Implementation

    public function get isPlaying():Boolean

Constructor Detail

AnimatedTextureFilter () Constructor

public function AnimatedTextureFilter(texture:Texture3D = null, uvChannel:int = 0, blendMode:String, alpha:Number = 1)

Parameters

texture:Texture3D (default = null)

uvChannel:int (default = 0)

blendMode:String (default = NaN)

alpha:Number (default = 1)

Method Detail

addFrame () method

public function addFrame(x:Number, y:Number, width:Number, height:Number):void

Parameters

x:Number

y:Number

width:Number

height:Number

gotoAndPlay () method  

public function gotoAndPlay(frame:Number):void

Parameters

frame:Number

gotoAndStop () method  

public function gotoAndStop(frame:Number):void

Parameters

frame:Number

play () method  

public function play():void

setRect () method  

public function setRect(x:Number, y:Number, width:Number, height:Number):void

Parameters

x:Number

y:Number

width:Number

height:Number

stop () method  

public function stop():void

 

class: ColorFilter

Package: flare.materials.filters

Class: public class ColorFilter

Inheritance: ColorFilteràFLSLFilteràflash.events.EventDispatcher

Property Detail

a property

a:Number

Implementation

    public function get a():Number

    public function set a(value:Number):void

b property  

b:Number

Implementation

    public function get b():Number

    public function set b(value:Number):void

color property  

color:uint

Implementation

    public function get color():uint

    public function set color(value:uint):void

g property  

g:Number

Implementation

    public function get g():Number

    public function set g(value:Number):void

r property  

r:Number

Implementation

    public function get r():Number

    public function set r(value:Number):void

Constructor Detail

ColorFilter () Constructor

public function ColorFilter(color:int = 0xffffff, alpha:Number = 1, blendMode:String)

Parameters

color:int (default = 0xffffff)

alpha:Number (default = 1)

blendMode:String (default = NaN)

 

class:ColorParticleFilter

Package: flare.materials.filters

Class: public class ColorParticleFilter

Inheritance: ColorParticleFilteràFLSLFilteràflash.events.EventDispatcher

Constructor Detail

ColorParticleFilter () Constructor

public function ColorParticleFilter(colors:Array, alphas:Array = null, ratios:Array = null, blendMode:String)

Parameters

colors:Array

alphas:Array (default = null)

ratios:Array (default = null)

blendMode:String (default = NaN)

Method Detail

setColors () method

public function setColors(colors:Array, alphas:Array = null, ratios:Array = null):void

Set the colors for the particles over the time.

Parameters

colors:Array — An array of RGB hexadecimal color values to be used in the gradient; for example, red is 0xFF0000, blue is 0x0000FF, and so on. You can specify up to 15 colors. For each color, be sure you specify a corresponding value in the alphas and ratios parameters. 

alphas:Array (default = null) — An array of alpha values for the corresponding colors in the colors array; valid values are 0 to 1. If the value is less than 0, the default is 0. If the value is greater than 1, the default is 1. 

ratios:Array (default = null) — An array of color distribution ratios; valid values are 0 to 255. This value defines the percentage of the width where the color is sampled at 100%. The value 0 represents the initial position, and 255 represents the final position.

 

class: EnvironmentFilter

Implementation

    public function get texture():Texture3D

    public function set texture(value:Texture3D):void

Constructor Detail

EnvironmentFilter () Constructor

public function EnvironmentFilter(texture:Texture3D = null, blendMode:String, alpha:Number = 1, techniqueName:String)

Parameters

texture:Texture3D (default = null)

blendMode:String (default = NaN)

alpha:Number (default = 1)

techniqueName:String (default = NaN)

Constant Detail

PER_PIXEL Constant

public static const PER_PIXEL:String = Per Pixel

PER_VERTEX Constant  

public static const PER_VERTEX:String = Per Vertex

class:FogFilter

Property Detail

alpha property

alpha:Number

Implementation

    public function get alpha():Number

    public function set alpha(value:Number):void

texture property  

texture:Texture3D

Property Detail

a property

a:Number

Implementation

    public function get a():Number

    public function set a(value:Number):void

b property  

b:Number

Implementation

    public function get b():Number

    public function set b(value:Number):void

color property  

color:uint

Implementation

    public function get color():uint

    public function set color(value:uint):void

far property  

far:Number

Implementation

    public function get far():Number

    public function set far(value:Number):void

g property  

g:Number

Implementation

    public function get g():Number

    public function set g(value:Number):void

near property  

near:Number

Implementation

    public function get near():Number

    public function set near(value:Number):void

r property  

r:Number

Implementation

    public function get r():Number

    public function set r(value:Number):void

Constructor Detail

FogFilter () Constructor

public function FogFilter(color:int = 0x000000, near:Number = 0, far:Number = 1000, blendMode:String, techniqueName:String)

Parameters  color:int (default = 0x000000)

near:Number (default = 0)

far:Number (default = 1000)

blendMode:String (default = NaN)

techniqueName:String (default = NaN)

Constant Detail

PER_PIXEL Constant

public static const PER_PIXEL:String = Per Pixel

PER_VERTEX Constant  

public static const PER_VERTEX:String = Per Vertex

class: LightFilter

Property Detail

ambientColor property

ambientColor:Vector3D

Implementation

    public function get ambientColor():Vector3D

    public function set ambientColor(value:Vector3D):void

intensity property  

intensity:Number

Implementation

    public function get intensity():Number

    public function set intensity(value:Number):void

maxDirectionalLights property  

maxDirectionalLights:int

Implementation

    public function get maxDirectionalLights():int

    public function set maxDirectionalLights(value:int):void

maxPointLights property  

maxPointLights:int

Implementation

    public function get maxPointLights():int

    public function set maxPointLights(value:int):void

Constructor Detail

LightFilter () Constructor

public function LightFilter(techniqueName:String, maxPointLights:int = 0, maxDirectionalLights:int = 1)

Parameters

techniqueName:String (default = NaN)

maxPointLights:int (default = 0)

maxDirectionalLights:int (default = 1)

Method Detail

clear () method

public function clear():void

push () method  

public function push(light:Light3D):void

Parameters

light:Light3D

Constant Detail

LINEAR Constant

public static const LINEAR:String = linear

NO_LIGHTS Constant  

public static const NO_LIGHTS:String = noLights

PER_VERTEX Constant  

public static const PER_VERTEX:String = perVertex

SAMPLED Constant  

public static const SAMPLED:String = sampled

class: NormalMapFilter

Package: flare.materials.filters

Class: public class NormalMapFilter

Inheritance: NormalMapFilteràFLSLFilteràflash.events.EventDispatcher

Property Detail

offsetX property

offsetX:Number

Implementation

    public function get offsetX():Number

    public function set offsetX(value:Number):void

offsetY property  

offsetY:Number

Implementation

    public function get offsetY():Number

    public function set offsetY(value:Number):void

repeatX property  

repeatX:Number

Implementation

    public function get repeatX():Number

    public function set repeatX(value:Number):void

repeatY property  

repeatY:Number

Implementation

    public function get repeatY():Number

    public function set repeatY(value:Number):void

texture property  

texture:Texture3D

Implementation

    public function get texture():Texture3D

    public function set texture(value:Texture3D):void

Constructor Detail

NormalMapFilter () Constructor

public function NormalMapFilter(texture:Texture3D = null, techniqueName:String)

Parameters

texture:Texture3D (default = null)

techniqueName:String (default = NaN)

Constant Detail

OBJECT_SPACE Constant

public static const OBJECT_SPACE:String = Object Space

WORLD_SPACE Constant  

public static const WORLD_SPACE:String = World Space

class: PlanarFilter

Property Detail

alpha property

alpha:Number

Implementation

    public function get alpha():Number

    public function set alpha(value:Number):void

size property  

size:Number

Implementation

    public function get size():Number

    public function set size(value:Number):void

texture property  

texture:Texture3D

Implementation

    public function get texture():Texture3D

    public function set texture(value:Texture3D):void

Constructor Detail

PlanarFilter () Constructor

public function PlanarFilter(texture:Texture3D = null, size:Number = 1000, blendMode:String, alpha:Number = 1)

Parameters

texture:Texture3D (default = null)

size:Number (default = 1000)

blendMode:String (default = NaN)

alpha:Number (default = 1)

class: SpecularFilter

Property Detail

level property

level:Number

Implementation

    public function get level():Number

    public function set level(value:Number):void

power property  

power:Number

Implementation

    public function get power():Number

    public function set power(value:Number):void

Constructor Detail

SpecularFilter () Constructor

public function SpecularFilter(power:Number = 50, level:Number = 1)

Parameters  power:Number (default = 50)

level:Number (default = 1)

class:SpecularMapFilter

Property Detail

level property

level:Number

Implementation

    public function get level():Number

    public function set level(value:Number):void

offsetX property  

offsetX:Number

Implementation

    public function get offsetX():Number

    public function set offsetX(value:Number):void

offsetY property  

offsetY:Number

Implementation

    public function get offsetY():Number

    public function set offsetY(value:Number):void

power property  

power:Number

Implementation

    public function get power():Number

    public function set power(value:Number):void

repeatX property  

repeatX:Number

Implementation

    public function get repeatX():Number

    public function set repeatX(value:Number):void

repeatY property  

repeatY:Number

Implementation

    public function get repeatY():Number

    public function set repeatY(value:Number):void

texture property  

texture:Texture3D

Implementation

    public function get texture():Texture3D

    public function set texture(value:Texture3D):void

Constructor Detail

SpecularMapFilter () Constructor

public function SpecularMapFilter(texture:Texture3D = null, power:Number = 50, level:Number = 1)

Parameters

texture:Texture3D (default = null)

power:Number (default = 50)

level:Number (default = 1)

 

class: TextureFilter

Package: flare.materials.filters

Class: public class TextureFilter

Inheritance: TextureFilteràFLSLFilteràflash.events.EventDispatcher

Subclasses AnimatedTextureFilter

Property Detail

alpha property

alpha:Number

Implementation

    public function get alpha():Number

    public function set alpha(value:Number):void

offsetX property  

offsetX:Number

Implementation

    public function get offsetX():Number

    public function set offsetX(value:Number):void

offsetY property  

offsetY:Number

Implementation

    public function get offsetY():Number

    public function set offsetY(value:Number):void

repeatX property  

repeatX:Number

Implementation

    public function get repeatX():Number

    public function set repeatX(value:Number):void

repeatY property  

repeatY:Number

Implementation

    public function get repeatY():Number

    public function set repeatY(value:Number):void

texture property  

texture:Texture3D

Implementation

    public function get texture():Texture3D

    public function set texture(value:Texture3D):void

Constructor Detail

TextureFilter () Constructor

public function TextureFilter(texture:Texture3D = null, uvChannel:int = 0, blendMode:String, alpha:Number = 1)

Parameters

texture:Texture3D (default = null)

uvChannel:int (default = 0)

blendMode:String (default = NaN)

alpha:Number (default = 1)

class: VertexColorFilter

Constructor Detail

VertexColorFilter () Constructor

public function VertexColorFilter(channel:int = 0, blendMode:String)

Parameters

channel:int (default = 0)

blendMode:String (default = NaN)

posted on 2012-05-16 16:03  尔冬橙  阅读(292)  评论(0编辑  收藏  举报