Packageaway3d.core.filter
Classpublic class MaxPolyFilter
ImplementsIPrimitiveFilter

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

Code examples

Comments