Package | away3d.sprites |
Class | public class DepthOfFieldSprite |
Inheritance | DepthOfFieldSprite Sprite3D Element flash.events.EventDispatcher |
Method | Defined by | ||
---|---|---|---|
DepthOfFieldSprite
(material:Material = null, width:Number = 10, height:Number = 10, rotation:Number = 0, align:String = "center", scaling:Number = 1, distanceScaling:Boolean = true)
Creates a new
DepthOfFieldSprite object. | DepthOfFieldSprite | ||
addOnMappingChange(listener:Function):void
Default method for adding a mappingchanged event listener
| Element | ||
addOnVertexChange(listener:Function):void
Default method for adding a vertexchanged event listener
| Element | ||
addOnVertexValueChange(listener:Function):void
Default method for adding a vertexvaluechanged event listener
| Element | ||
addOnVisibleChange(listener:Function):void
Default method for adding a visiblechanged event listener
| Element | ||
offset(x:Number, y:Number, z:Number):void
Offsets the vertices of the face by given amounts in x, y and z.
| Element | ||
removeOnMappingChange(listener:Function):void
Default method for removing a mappingchanged event listener
| Element | ||
removeOnVertexChange(listener:Function):void
Default method for removing a vertexchanged event listener
| Element | ||
removeOnVertexValueChange(listener:Function):void
Default method for removing a vertexvaluechanged event listener
| Element | ||
removeOnVisibleChange(listener:Function):void
Default method for removing a visiblechanged event listener
| Element |
DepthOfFieldSprite | () | constructor |
public function DepthOfFieldSprite(material:Material = null, width:Number = 10, height:Number = 10, rotation:Number = 0, align:String = "center", scaling:Number = 1, distanceScaling:Boolean = true)
Parameters
material:Material (default = null )
|
|
width:Number (default = 10 )
|
|
height:Number (default = 10 )
|
|
rotation:Number (default = 0 )
|
|
align:String (default = "center ")
|
|
scaling:Number (default = 1 )
|
|
distanceScaling:Boolean (default = true )
|