Packageaway3d.core.clip
Classpublic class FrustumClipping
InheritanceFrustumClipping Inheritance Clipping Inheritance flash.events.EventDispatcher

Frustum Clipping



Public Properties
 PropertyDefined By
 InheritedmaxX : Number
Maximum allowed x value for primitives
Clipping
 InheritedmaxY : Number
Maximum allowed y value for primitives
Clipping
 InheritedmaxZ : Number
Maximum allowed z value for primitives
Clipping
 InheritedminX : Number
Minimum allowed x value for primitives
Clipping
 InheritedminY : Number
Minimum allowed y value for primitives
Clipping
 InheritedminZ : Number
Minimum allowed z value for primitives
Clipping
  objectCulling : Boolean
[override]
FrustumClipping
 Inheritedview : View3D
Clipping
Protected Properties
 PropertyDefined By
 Inheritedini : Init
Clipping
Public Methods
 MethodDefined By
  
FrustumClipping(init:Object = null)
FrustumClipping
 Inherited
addOnClippingUpdate(listener:Function):void
Default method for adding a clippingUpdated event listener
Clipping
 Inherited
addOnScreenUpdate(listener:Function):void
Default method for adding a screenUpdated event listener
Clipping
  
checkElements(mesh:Mesh, clippedFaceVOs:Vector.<FaceVO>, clippedSegmentVOs:Vector.<SegmentVO>, clippedSpriteVOs:Vector.<SpriteVO>, clippedVertices:Vector.<Vertex>, clippedVerts:Vector.<Number>, clippedIndices:Vector.<int>, startIndices:Vector.<int>):void
[override]
FrustumClipping
 Inherited
checkPrimitive(renderer:Renderer, priIndex:uint):Boolean
Checks a drawing primitive for clipping.
Clipping
  
clone(object:Clipping = null):Clipping
[override]
FrustumClipping
  
rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean
[override] Checks a bounding rectangle for clipping.
FrustumClipping
 Inherited
removeOnClippingUpdate(listener:Function):void
Default method for removing a clippingUpdated event listener
Clipping
 Inherited
removeOnScreenUpdate(listener:Function):void
Default method for removing a screenUpdated event listener
Clipping
 Inherited
screen(container:Sprite, _loaderWidth:Number, _loaderHeight:Number):Clipping
Returns a clipping object initilised with the edges of the flash movie as the clipping bounds.
Clipping
 Inherited
toString():String
[override] Used to trace the values of a rectangle clipping object.
Clipping
Property Detail
objectCullingproperty
objectCulling:Boolean[override]


Implementation
    public function get objectCulling():Boolean
    public function set objectCulling(value:Boolean):void
Constructor Detail
FrustumClipping()Constructor
public function FrustumClipping(init:Object = null)



Parameters
init:Object (default = null)
####INIT####
Method Detail
checkElements()method
override public function checkElements(mesh:Mesh, clippedFaceVOs:Vector.<FaceVO>, clippedSegmentVOs:Vector.<SegmentVO>, clippedSpriteVOs:Vector.<SpriteVO>, clippedVertices:Vector.<Vertex>, clippedVerts:Vector.<Number>, clippedIndices:Vector.<int>, startIndices:Vector.<int>):void

Parameters

mesh:Mesh
 
clippedFaceVOs:Vector.<FaceVO>
 
clippedSegmentVOs:Vector.<SegmentVO>
 
clippedSpriteVOs:Vector.<SpriteVO>
 
clippedVertices:Vector.<Vertex>
 
clippedVerts:Vector.<Number>
 
clippedIndices:Vector.<int>
 
startIndices:Vector.<int>

clone()method 
override public function clone(object:Clipping = null):Clipping

Parameters

object:Clipping (default = null)

Returns
Clipping
rect()method 
override public function rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean

Checks a bounding rectangle for clipping.

Parameters

minX:Number — The x value for the left side of the rectangle.
 
minY:Number — The y value for the top side of the rectangle.
 
maxX:Number — The x value for the right side of the rectangle.
 
maxY:Number — The y value for the bottom side of the rectangle.

Returns
Boolean — The clipping result - false for clipped, true for non-clipped.