Packageaway3d.sprites
Classpublic class DepthOfFieldSprite
InheritanceDepthOfFieldSprite Inheritance Sprite3D Inheritance Element

Spherical billboard (always facing the camera) sprite object that uses a cached array of bitmapData objects as it's texture. A depth of field blur image over a number of different perspecives is drawn and cached for later retrieval and display.

Public Properties
 PropertyDefined by
 Inheritedalign : String
Defines how the 3d sprite is aligned to its vertex
Sprite3D
 Inheritedcommands : Vector
Returns an array of drawing command strings that make up the 3d element.
Element
 InheriteddistanceScaling : Boolean
Defines if the sprite should scale with distance.
Sprite3D
 Inheritedextra : Object
An optional untyped object that can contain used-defined properties.
Element
 Inheritedheight : Number
Defines the height of the 3d sprite.
Sprite3D
 Inheritedmaterial : Material
Defines the material of the 3d sprite.
Sprite3D
 Inheritedparent : Geometry
Defines the parent 3d object of the segment.
Element
 InheritedpathCommands : Array
Returns an array of drawing command objects that are used by the face.
Element
 Inheritedrotation : Number
Defines the rotation of the 3d sprite.
Sprite3D
 Inheritedscaling : Number
Defines the scaling of the 3d sprite when an BitmapMaterial is used.
Sprite3D
 InheritedspriteVO : SpriteVO
Sprite3D
 Inheriteduvs : Vector
Returns an array of uv objects that are used by the element.
Element
 Inheritedvertices : Vector
Returns an array of vertex objects that make up the 3d element.
Element
 Inheritedvisible : Boolean
Determines whether the 3d element is visible in the scene.
Element
 Inheritedwidth : Number
Defines the width of the 3d sprite.
Sprite3D
 Inheritedx : Number
Defines the x coordinate of the 3d sprite relative to the local coordinates of the parent Mesh.
Sprite3D
 Inheritedy : Number
Defines the y coordinate of the 3d sprite relative to the local coordinates of the parent Mesh.
Sprite3D
 Inheritedz : Number
Defines the z coordinate of the 3d sprite relative to the local coordinates of the parent Mesh.
Sprite3D
Protected Properties
 PropertyDefined by
 Inherited_commands : Vector
Element
 Inherited_lastAddedVertex : Vertex
Element
 Inherited_material : Material
Element
 Inherited_pathCommands : Array
Element
 Inherited_uvs : Vector
Element
 Inherited_vertices : Vector
Element
Public Methods
 MethodDefined 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
Constructor detail
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)
Init Parameters
Wiki link
Click to go to the wiki page for 'away3d.sprites.DepthOfFieldSprite'

Code examples

Comments