Package | away3d.core.draw |
Class | public class DrawBillboard |
Inheritance | DrawBillboard ![]() |
Property | Defined by | ||
---|---|---|---|
billboardVO : BillboardVO
A reference to the billboard value object used by the billboard primitive.
| DrawBillboard | ||
bottomleftx : Number
The bottomleft x position of the billboard primitive.
| DrawBillboard | ||
bottomlefty : Number
The bottomleft y position of the billboard primitive.
| DrawBillboard | ||
bottomrightx : Number
The bottomright x position of the billboard primitive.
| DrawBillboard | ||
bottomrighty : Number
The bottomright y position of the billboard primitive.
| DrawBillboard | ||
![]() | create : Function
Placeholder function for creating new drawing primitives from a cache of objects.
| DrawPrimitive | |
![]() | generated : Boolean
Indicator of whether primitive is the produce of a generator algorithm
| DrawPrimitive | |
height : Number
The height of the billboard if a non-uv material is used.
| DrawBillboard | ||
index : int
The index of the screenvertex used to position the billboard primitive in the view.
| DrawBillboard | ||
mapping : Matrix | DrawBillboard | ||
material : IBillboardMaterial
The material object used as the billboard primitive's texture.
| DrawBillboard | ||
![]() | maxX : Number
Indicates the maximum x value of the drawing primitive.
| DrawPrimitive | |
![]() | maxY : Number
Indicates the maximum y value of the drawing primitive.
| DrawPrimitive | |
![]() | maxZ : Number
Indicates the maximum z value of the drawing primitive.
| DrawPrimitive | |
![]() | minX : Number
Indicates the minimum x value of the drawing primitive.
| DrawPrimitive | |
![]() | minY : Number
Indicates the minimum y value of the drawing primitive.
| DrawPrimitive | |
![]() | minZ : Number
Indicates the minimum z value of the drawing primitive.
| DrawPrimitive | |
![]() | quadrant : PrimitiveQuadrantTreeNode
Reference to the last quadrant used by the drawing primitive.
| DrawPrimitive | |
rotation : Number
A rotation value used to rotate the scaled bitmap primitive.
| DrawBillboard | ||
scale : Number
A scaling value used to scale the billboard primitive relative to the dimensions of a uv material.
| DrawBillboard | ||
screenIndices : Array | DrawBillboard | ||
screenVertices : Array | DrawBillboard | ||
![]() | screenZ : Number
Indicates the screen z value of the drawing primitive (used for z-sorting).
| DrawPrimitive | |
![]() | source : Object3D
The parent 3d object of the drawing primitive.
| DrawPrimitive | |
topleftx : Number
The topleft x position of the billboard primitive.
| DrawBillboard | ||
toplefty : Number
The topleft y position of the billboard primitive.
| DrawBillboard | ||
toprightx : Number
The topright x position of the billboard primitive.
| DrawBillboard | ||
toprighty : Number
The topright y position of the billboard primitive.
| DrawBillboard | ||
![]() | view : View3D
The view 3d object of the drawing primitive.
| DrawPrimitive | |
vx : Number
The x position of the screenvertex of the billboard primitive.
| DrawBillboard | ||
vy : Number
The y position of the screenvertex of the billboard primitive.
| DrawBillboard | ||
width : Number
The width of the billboard if a non-uv material is used.
| DrawBillboard |
Method | Defined by | ||
---|---|---|---|
calc():void
Calculates the min, max and screen properties required for rendering the drawing primitive.
| DrawBillboard | ||
clear():void
Deletes the data currently held by the drawing primitive.
| DrawBillboard | ||
contains(x:Number, y:Number):Boolean
Determines whether the given point lies inside the drawing primitive
| DrawBillboard | ||
![]() |
getZ(x:Number, y:Number):Number
Calulates the screen z value of a precise point on the drawing primitive.
| DrawPrimitive | |
![]() |
quarter(focus:Number):Array
Cuts the drawing primitive into 4 equally sized drawing primitives.
| DrawPrimitive | |
render():void
Draws the primitive to the view.
| DrawBillboard | ||
![]() |
toString():String
Used to trace the values of a drawing primitive.
| DrawPrimitive |
billboardVO | property |
public var billboardVO:BillboardVO
A reference to the billboard value object used by the billboard primitive.
bottomleftx | property |
public var bottomleftx:Number
The bottomleft x position of the billboard primitive.
bottomlefty | property |
public var bottomlefty:Number
The bottomleft y position of the billboard primitive.
bottomrightx | property |
public var bottomrightx:Number
The bottomright x position of the billboard primitive.
bottomrighty | property |
public var bottomrighty:Number
The bottomright y position of the billboard primitive.
height | property |
public var height:Number
The height of the billboard if a non-uv material is used.
index | property |
public var index:int
The index of the screenvertex used to position the billboard primitive in the view.
mapping | property |
public var mapping:Matrix
material | property |
public var material:IBillboardMaterial
The material object used as the billboard primitive's texture.
rotation | property |
public var rotation:Number
A rotation value used to rotate the scaled bitmap primitive.
scale | property |
public var scale:Number
A scaling value used to scale the billboard primitive relative to the dimensions of a uv material.
screenIndices | property |
public var screenIndices:Array
screenVertices | property |
public var screenVertices:Array
topleftx | property |
public var topleftx:Number
The topleft x position of the billboard primitive.
toplefty | property |
public var toplefty:Number
The topleft y position of the billboard primitive.
toprightx | property |
public var toprightx:Number
The topright x position of the billboard primitive.
toprighty | property |
public var toprighty:Number
The topright y position of the billboard primitive.
vx | property |
public var vx:Number
The x position of the screenvertex of the billboard primitive.
vy | property |
public var vy:Number
The y position of the screenvertex of the billboard primitive.
width | property |
public var width:Number
The width of the billboard if a non-uv material is used.
calc | () | method |
public override function calc():void
Calculates the min, max and screen properties required for rendering the drawing primitive.
clear | () | method |
public override function clear():void
Deletes the data currently held by the drawing primitive.
contains | () | method |
public override function contains(x:Number, y:Number):Boolean
Determines whether the given point lies inside the drawing primitive
Parametersx:Number — The x position of the point to be tested.
|
|
y:Number — The y position of the point to be tested.
|
Boolean — The result of the test.
|
render | () | method |
public override function render():void
Draws the primitive to the view.