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

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
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
Clipping
  _screenVerticesCull : Vector
Clipping
  _uvtData : Vector
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
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
_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
maxXproperty 
maxX:Number  [read-write]

Maximum allowed x value for primitives

Implementation
    public function get maxX():Number
    public function set maxX(value:Number):void
_maxYproperty 
protected var _maxY:Number = 100000
maxYproperty 
maxY:Number  [read-write]

Maximum allowed y value for primitives

Implementation
    public function get maxY():Number
    public function set maxY(value:Number):void
_maxZproperty 
protected var _maxZ:Number = 100000
maxZproperty 
maxZ:Number  [read-write]

Maximum allowed z value for primitives

Implementation
    public function get maxZ():Number
    public function set maxZ(value:Number):void
_minXproperty 
protected var _minX:Number = -100000
minXproperty 
minX:Number  [read-write]

Minimum allowed x value for primitives.

Implementation
    public function get minX():Number
    public function set minX(value:Number):void
_minYproperty 
protected var _minY:Number = -100000
minYproperty 
minY:Number  [read-write]

Minimum allowed y value for primitives

Implementation
    public function get minY():Number
    public function set minY(value:Number):void
_minZproperty 
protected var _minZ:Number = -100000
minZproperty 
minZ:Number  [read-write]

Minimum allowed z value for primitives

Implementation
    public function get minZ():Number
    public function set minZ(value:Number):void
_screenVerticesproperty 
protected var _screenVertices:Vector
_screenVerticesCullproperty 
protected var _screenVerticesCull:Vector
_uvtDataproperty 
protected var _uvtData:Vector
_viewproperty 
protected var _view:View3D
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)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
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 
public override function toString():String

Used to trace the values of a clipping object.

Returns
String — A string representation of the clipping object.
Wiki link
Click to go to the wiki page for 'away3dlite.core.clip.Clipping'

Code examples

Comments