Defines a maximum allowed drawing primitives.
public function MaxPolyFilter(maxP:int = 1000)
Parameters
| maxP:int (default = 1000 ) — A maximum allowed drawing primitives. Default = 1000;
|
Init Parameters
public function filter(primitives:Array, scene:Scene3D, camera:Camera3D, clip:Clipping):Array
Applies the filter to the primitive array.
Parameters
| primitives:Array — The primitives to be filtered.
|
|
| scene:Scene3D — The scene to which the primitives belongs.
|
|
| camera:Camera3D — The camera being used in the renderer for the primitives.
|
|
| clip:Clipping — The clipping object used in the renderer for the primitive's view.
|
Returns
| Array — The filtered array of primitives.
|
public function toString():String
Used to trace the values of a filter.
Returns
| String — A string representation of the filter object.
|