Orion API Documentation
All Packages
|
All Classes
|
Index
|
Frames
No Frames
Class PixelRenderer
Properties
|
Methods
Package
cv.orion.renderers
Class
public class PixelRenderer
Inheritance
PixelRenderer
BitmapRenderer
flash.display.Bitmap
The PixelRenderer class acts exactly like the BitmapRenderer class. The one difference is that instead of drawing particles to the bitmap, it will draw a single pixel for each particles in the Orion instance.
Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties
Property
Defined by
debug
: Boolean = false
Turns on debug lines to outline the emitter and canvas dimensions
BitmapRenderer
drawTargets
: Array
An array of items to be drawn to th renderer.
BitmapRenderer
paused
: Boolean
Gets or sets the paused property
BitmapRenderer
postFilters
: Array
Fitlers that will be applied after new particles have been drawn to the bitmap.
BitmapRenderer
preFilters
: Array
Filters that will be applied before new particles are drawn to the bitmap.
BitmapRenderer
Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods
Method
Defined by
clear
():void
Clears the renderer.
BitmapRenderer
getPalletteMap
():Array
Gets the palletemap if it was set.
BitmapRenderer
pause
():void
Pauses the renderer
BitmapRenderer
play
():void
Resumes or plays the renderer
BitmapRenderer
render
(e:Event = null):void
Calls the renderer to draw the particles.
BitmapRenderer
setPalletteMap
(red:Array = null, green:Array = null, blue:Array = null, alpha:Array = null):void
Remaps the color channel values in an image that has up to four arrays of color palette data, one for each channel.
BitmapRenderer
Protected Methods
Hide Inherited Protected Methods
Show Inherited Protected Methods
Method
Defined by
stageHandler
(e:Event):void
Clears and inits the bitmap data once it has access to the stage.
BitmapRenderer
Copyright 2009 Gabriel Mariani (http://blog.coursevector.com/orion)