Packageaway3d.core.render
Classpublic class BasicRenderer
ImplementsIRenderer

Default renderer for a view. Contains the main render loop for rendering a scene to a view, which resolves the projection, culls any drawing primitives that are occluded or outside the viewport, and then z-sorts and renders them to screen.

Public Properties
 PropertyDefined by
  session : AbstractRenderSession
Defines the render session object used by the renderer.
BasicRenderer
Public Methods
 MethodDefined by
  
BasicRenderer
(... filters)
Creates a new BasicRenderer object.
BasicRenderer
  
render(view:View3D):Array
Executes the render pipe that resolves the 3d scene into the view.
BasicRenderer
  
toString():String
Used to trace the values of a renderer.
BasicRenderer
Property detail
sessionproperty
session:AbstractRenderSession  [read-write]

Defines the render session object used by the renderer.

Implementation
    public function get session():AbstractRenderSession
    public function set session(value:AbstractRenderSession):void
Constructor detail
BasicRenderer()constructor
public function BasicRenderer(... filters)Parameters
... filters — [optional] An array of filters to use on projected drawing primitives before rendering them to screen.
####INIT####
Method detail
render()method
public function render(view:View3D):Array

Executes the render pipe that resolves the 3d scene into the view.

Parameters
view:View3D

Returns
Array
toString()method 
public function toString():String

Used to trace the values of a renderer.

Returns
String — A string representation of the renderer object.
Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments