Packageaway3dlite.core.clip
Classpublic class Clipping
InheritanceClipping Inheritance flash.events.EventDispatcher
Subclasses RectangleClipping

Base clipping class for no clipping.



Public Properties
 PropertyDefined By
  maxX : Number
Maximum allowed x value for primitives
Clipping
  maxY : Number
Maximum allowed y value for primitives
Clipping
  maxZ : Number
Maximum allowed z value for primitives
Clipping
  minX : Number
Minimum allowed x value for primitives.
Clipping
  minY : Number
Minimum allowed y value for primitives
Clipping
  minZ : Number
Minimum allowed z value for primitives
Clipping
Protected Properties
 PropertyDefined By
  _cullCount : int
Clipping
  _cullTotal : int
Clipping
  _face : Face
Clipping
  _faces : Vector.<Face>
Clipping
  _index : int
Clipping
  _indexX : int
Clipping
  _indexY : int
Clipping
  _indexZ : int
Clipping
  _maxX : Number = 100000
Clipping
  _maxY : Number = 100000
Clipping
  _maxZ : Number = 100000
Clipping
  _minX : Number = -100000
Clipping
  _minY : Number = -100000
Clipping
  _minZ : Number = -100000
Clipping
  _screenVertices : Vector.<Number>
Clipping
  _screenVerticesCull : Vector.<int>
Clipping
  _uvtData : Vector.<Number>
Clipping
  _view : View3D
Clipping
Public Methods
 MethodDefined By
  
Clipping(minX:Number = -10000, maxX:Number = 10000, minY:Number = -10000, maxY:Number = 10000, minZ:Number = -10000, maxZ:Number = 10000)
Creates a new Clipping object.
Clipping
  
clone(object:Clipping = null):Clipping
Duplicates the clipping object's properties to another Clipping object
Clipping
  
toString():String
[override] Used to trace the values of a clipping object.
Clipping
Property Detail
_cullCountproperty
protected var _cullCount:int

_cullTotalproperty 
protected var _cullTotal:int

_faceproperty 
protected var _face:Face

_facesproperty 
protected var _faces:Vector.<Face>

_indexproperty 
protected var _index:int

_indexXproperty 
protected var _indexX:int

_indexYproperty 
protected var _indexY:int

_indexZproperty 
protected var _indexZ:int

_maxXproperty 
protected var _maxX:Number = 100000

_maxYproperty 
protected var _maxY:Number = 100000

_maxZproperty 
protected var _maxZ:Number = 100000

_minXproperty 
protected var _minX:Number = -100000

_minYproperty 
protected var _minY:Number = -100000

_minZproperty 
protected var _minZ:Number = -100000

_screenVerticesproperty 
protected var _screenVertices:Vector.<Number>

_screenVerticesCullproperty 
protected var _screenVerticesCull:Vector.<int>

_uvtDataproperty 
protected var _uvtData:Vector.<Number>

_viewproperty 
protected var _view:View3D

maxXproperty 
maxX:Number

Maximum allowed x value for primitives


Implementation
    public function get maxX():Number
    public function set maxX(value:Number):void
maxYproperty 
maxY:Number

Maximum allowed y value for primitives


Implementation
    public function get maxY():Number
    public function set maxY(value:Number):void
maxZproperty 
maxZ:Number

Maximum allowed z value for primitives


Implementation
    public function get maxZ():Number
    public function set maxZ(value:Number):void
minXproperty 
minX:Number

Minimum allowed x value for primitives.


Implementation
    public function get minX():Number
    public function set minX(value:Number):void
minYproperty 
minY:Number

Minimum allowed y value for primitives


Implementation
    public function get minY():Number
    public function set minY(value:Number):void
minZproperty 
minZ:Number

Minimum allowed z value for primitives


Implementation
    public function get minZ():Number
    public function set minZ(value:Number):void
Constructor Detail
Clipping()Constructor
public function Clipping(minX:Number = -10000, maxX:Number = 10000, minY:Number = -10000, maxY:Number = 10000, minZ:Number = -10000, maxZ:Number = 10000)

Creates a new Clipping object.

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####
Method Detail
clone()method
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.
toString()method 
override public function toString():String

Used to trace the values of a clipping object.

Returns
String — A string representation of the clipping object.