Base clipping class for no clipping.
protected var _cullCount:int
protected var _cullTotal:int
protected var _faces:Vector
protected var _index:int
protected var _indexX:int
protected var _indexY:int
protected var _indexZ:int
protected var _maxX:Number = 100000
maxX:Number
[read-write]
Maximum allowed x value for primitives
Implementation
public function get maxX():Number
public function set maxX(value:Number):void
protected var _maxY:Number = 100000
maxY:Number
[read-write]
Maximum allowed y value for primitives
Implementation
public function get maxY():Number
public function set maxY(value:Number):void
protected var _maxZ:Number = 100000
maxZ:Number
[read-write]
Maximum allowed z value for primitives
Implementation
public function get maxZ():Number
public function set maxZ(value:Number):void
protected var _minX:Number = -100000
minX:Number
[read-write]
Minimum allowed x value for primitives.
Implementation
public function get minX():Number
public function set minX(value:Number):void
protected var _minY:Number = -100000
minY:Number
[read-write]
Minimum allowed y value for primitives
Implementation
public function get minY():Number
public function set minY(value:Number):void
protected var _minZ:Number = -100000
minZ:Number
[read-write]
Minimum allowed z value for primitives
Implementation
public function get minZ():Number
public function set minZ(value:Number):void
protected var _screenVertices:Vector
protected var _screenVerticesCull:Vector
protected var _uvtData:Vector
protected var _view:View3D
public function Clipping(minX:Number = -10000, maxX:Number = 10000, minY:Number = -10000, maxY:Number = 10000, minZ:Number = -10000, maxZ:Number = 10000)
Parameters
| minX:Number (default = -10000 ) — Minimum allowed x value for primitives.
|
|
| maxX:Number (default = 10000 ) — Maximum allowed x value for primitives.
|
|
| minY:Number (default = -10000 ) — Minimum allowed y value for primitives.
|
|
| maxY:Number (default = 10000 ) — Maximum allowed y value for primitives.
|
|
| minZ:Number (default = -10000 ) — Minimum allowed z value for primitives.
|
|
| maxZ:Number (default = 10000 ) — Maximum allowed z value for primitives.
|
Init Parameters
public function clone(object:Clipping = null):Clipping
Duplicates the clipping object's properties to another Clipping
object
Parameters
| object:Clipping (default = null ) — [optional] The new object instance into which all properties are copied. The default is Clipping .
|
Returns
| Clipping —
The new object instance with duplicated properties applied.
|
public override function toString():String
Used to trace the values of a clipping object.
Returns
| String — A string representation of the clipping object.
|