Packageaway3d.core.filter
Classpublic class MaxPolyFilter
InheritanceMaxPolyFilter Inheritance Object
Implements IPrimitiveFilter

Defines a maximum allowed drawing primitives.



Public Methods
 MethodDefined By
  
MaxPolyFilter(maxP:int = 1000)
Creates a new MaxPolyFilter object.
MaxPolyFilter
  
filter(renderer:Renderer):void
Applies the filter to the primitive array.
MaxPolyFilter
  
toString():String
Used to trace the values of a filter.
MaxPolyFilter
Constructor Detail
MaxPolyFilter()Constructor
public function MaxPolyFilter(maxP:int = 1000)

Creates a new MaxPolyFilter object.

Parameters
maxP:int (default = 1000) — A maximum allowed drawing primitives. Default = 1000;
####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.