Packageaway3d.core.filter
Classpublic class ZDepthFilter
InheritanceZDepthFilter Inheritance Object
Implements IPrimitiveFilter

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)

Creates a new ZDepthFilter object.

Parameters
maxZ:Number — A maximum allowed depth value for drawing primitives.
####INIT####
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.