Packageaway3d.core.filter
Classpublic class ZDepthFilter
ImplementsIPrimitiveFilter

Defines a maximum z value for rendering primitives

Public Methods
 MethodDefined by
  
ZDepthFilter
(maxZ:Number)
Creates a new ZDepthFilter object.
ZDepthFilter
  
filter(renderer:Renderer):void
Applies the filter to the primitive array.
ZDepthFilter
  
toString():String
Used to trace the values of a filter.
ZDepthFilter
Constructor detail
ZDepthFilter()constructor
public function ZDepthFilter(maxZ:Number)Parameters
maxZ:Number — A maximum allowed depth value for drawing primitives.
Init Parameters
Method detail
filter()method
public function filter(renderer:Renderer):void

Applies the filter to the primitive array.

Parameters
renderer:Renderer — The primitives to be filtered.
toString()method 
public function toString():String

Used to trace the values of a filter.

Returns
String — A string representation of the filter object.
Wiki link
Click to go to the wiki page for 'away3d.core.filter.ZDepthFilter'

Code examples

Comments