Packageaway3d.core.utils
Classpublic class DrawPrimitiveStore

Public Properties
 PropertyDefined by
  blockerDictionary : Dictionary
DrawPrimitiveStore
  view : View3D
DrawPrimitiveStore
Public Methods
 MethodDefined by
  
createConvexBlocker(source:Object3D, vertices:Array):ConvexBlocker
DrawPrimitiveStore
  
createDrawDisplayObject(source:Object3D, vx:Number, vy:Number, vz:Number, session:AbstractRenderSession, displayobject:DisplayObject, generated:Boolean = false):DrawDisplayObject
DrawPrimitiveStore
  
createDrawScaledBitmap(source:Object3D, screenVertices:Array, smooth:Boolean, bitmap:BitmapData, scale:Number, rotation:Number, generated:Boolean = false):DrawScaledBitmap
DrawPrimitiveStore
  
createDrawSegment(source:Object3D, segmentVO:SegmentVO, material:Material, screenVertices:Array, screenIndices:Array, screenCommands:Array, startIndex:int, endIndex:int, generated:Boolean = false):DrawSegment
DrawPrimitiveStore
  
createDrawSprite(source:Object3D, spriteVO:SpriteVO, material:Material, screenVertices:Array, screenIndices:Array, index:uint, scale:Number, generated:Boolean = false):DrawSprite
DrawPrimitiveStore
  
createDrawTriangle(source:Object3D, faceVO:FaceVO, material:Material, screenVertices:Array, screenIndices:Array, screenCommands:Array, startIndex:int, endIndex:int, uv0:UV, uv1:UV, uv2:UV, generated:Boolean = false):DrawTriangle
DrawPrimitiveStore
  
getScreenCommands(id:int):Array
DrawPrimitiveStore
  
getScreenIndices(id:int):Array
DrawPrimitiveStore
  
getScreenVertices(id:int):Array
DrawPrimitiveStore
  
reset():void
DrawPrimitiveStore
Property detail
blockerDictionaryproperty
public var blockerDictionary:Dictionary
viewproperty 
public var view:View3D
Method detail
createConvexBlocker()method
public function createConvexBlocker(source:Object3D, vertices:Array):ConvexBlocker Parameters
source:Object3D
 
vertices:Array

Returns
ConvexBlocker
createDrawDisplayObject()method 
public function createDrawDisplayObject(source:Object3D, vx:Number, vy:Number, vz:Number, session:AbstractRenderSession, displayobject:DisplayObject, generated:Boolean = false):DrawDisplayObject Parameters
source:Object3D
 
vx:Number
 
vy:Number
 
vz:Number
 
session:AbstractRenderSession
 
displayobject:DisplayObject
 
generated:Boolean (default = false)

Returns
DrawDisplayObject
createDrawScaledBitmap()method 
public function createDrawScaledBitmap(source:Object3D, screenVertices:Array, smooth:Boolean, bitmap:BitmapData, scale:Number, rotation:Number, generated:Boolean = false):DrawScaledBitmap Parameters
source:Object3D
 
screenVertices:Array
 
smooth:Boolean
 
bitmap:BitmapData
 
scale:Number
 
rotation:Number
 
generated:Boolean (default = false)

Returns
DrawScaledBitmap
createDrawSegment()method 
public function createDrawSegment(source:Object3D, segmentVO:SegmentVO, material:Material, screenVertices:Array, screenIndices:Array, screenCommands:Array, startIndex:int, endIndex:int, generated:Boolean = false):DrawSegment Parameters
source:Object3D
 
segmentVO:SegmentVO
 
material:Material
 
screenVertices:Array
 
screenIndices:Array
 
screenCommands:Array
 
startIndex:int
 
endIndex:int
 
generated:Boolean (default = false)

Returns
DrawSegment
createDrawSprite()method 
public function createDrawSprite(source:Object3D, spriteVO:SpriteVO, material:Material, screenVertices:Array, screenIndices:Array, index:uint, scale:Number, generated:Boolean = false):DrawSprite Parameters
source:Object3D
 
spriteVO:SpriteVO
 
material:Material
 
screenVertices:Array
 
screenIndices:Array
 
index:uint
 
scale:Number
 
generated:Boolean (default = false)

Returns
DrawSprite
createDrawTriangle()method 
public function createDrawTriangle(source:Object3D, faceVO:FaceVO, material:Material, screenVertices:Array, screenIndices:Array, screenCommands:Array, startIndex:int, endIndex:int, uv0:UV, uv1:UV, uv2:UV, generated:Boolean = false):DrawTriangle Parameters
source:Object3D
 
faceVO:FaceVO
 
material:Material
 
screenVertices:Array
 
screenIndices:Array
 
screenCommands:Array
 
startIndex:int
 
endIndex:int
 
uv0:UV
 
uv1:UV
 
uv2:UV
 
generated:Boolean (default = false)

Returns
DrawTriangle
getScreenCommands()method 
public function getScreenCommands(id:int):Array Parameters
id:int

Returns
Array
getScreenIndices()method 
public function getScreenIndices(id:int):Array Parameters
id:int

Returns
Array
getScreenVertices()method 
public function getScreenVertices(id:int):Array Parameters
id:int

Returns
Array
reset()method 
public function reset():void
Wiki link
Click to go to the wiki page for 'away3d.core.utils.DrawPrimitiveStore'

Code examples

Comments