Packageaway3d.core.render
Classpublic class DefaultRenderer
InheritanceDefaultRenderer Inheritance RendererBase Inheritance Object

The DefaultRenderer class provides the default rendering method. It renders the scene graph objects using the materials assigned to them.



Public Properties
 PropertyDefined By
 InheritedantiAlias : uint
RendererBase
 InheritedbackgroundImageRenderer : BackgroundImageRenderer
[read-only]
RendererBase
 InheritedrenderableSorter : IEntitySorter
RendererBase
Protected Properties
 PropertyDefined By
 Inherited_antiAlias : uint
RendererBase
 Inherited_backgroundAlpha : Number = 1
RendererBase
 Inherited_backgroundB : Number = 0
RendererBase
 Inherited_backgroundG : Number = 0
RendererBase
 Inherited_backgroundR : Number = 0
RendererBase
 Inherited_context : Context3D
RendererBase
 Inherited_renderableSorter : IEntitySorter
RendererBase
 Inherited_renderTarget : TextureBase
RendererBase
 Inherited_renderTargetSurface : int
RendererBase
 Inherited_renderToTexture : Boolean
RendererBase
 Inherited_shareContext : Boolean = false
RendererBase
 Inherited_stage3DProxy : Stage3DProxy
RendererBase
 Inherited_textureRatioX : Number = 1
RendererBase
 Inherited_textureRatioY : Number = 1
RendererBase
 Inherited_viewHeight : Number
RendererBase
 Inherited_viewWidth : Number
RendererBase
Public Methods
 MethodDefined By
  
Creates a new DefaultRenderer object.
DefaultRenderer
 Inherited
queueSnapshot(bmd:BitmapData):void
RendererBase
Protected Methods
 MethodDefined By
  
draw(entityCollector:EntityCollector, target:TextureBase):void
[override] Performs the actual drawing of geometry to the target.
DefaultRenderer
  
executeRender(entityCollector:EntityCollector, target:TextureBase = null, scissorRect:Rectangle = null, surfaceSelector:int = 0):void
[override]
DefaultRenderer
 Inherited
RendererBase
Property Detail
stage3DProxyproperty
stage3DProxy:Stage3DProxy[override]


Implementation
    arcane function get stage3DProxy():Stage3DProxy
    arcane function set stage3DProxy(value:Stage3DProxy):void
Constructor Detail
DefaultRenderer()Constructor
public function DefaultRenderer()

Creates a new DefaultRenderer object.

Method Detail
dispose()method
override arcane function dispose():void

draw()method 
override protected function draw(entityCollector:EntityCollector, target:TextureBase):void

Performs the actual drawing of geometry to the target.

Parameters

entityCollector:EntityCollector — The EntityCollector object containing the potentially visible geometry.
 
target:TextureBase

executeRender()method 
override protected function executeRender(entityCollector:EntityCollector, target:TextureBase = null, scissorRect:Rectangle = null, surfaceSelector:int = 0):void

Parameters

entityCollector:EntityCollector
 
target:TextureBase (default = null)
 
scissorRect:Rectangle (default = null)
 
surfaceSelector:int (default = 0)