Packageaway3d.core.clip
Classpublic class RectangleClipping
InheritanceRectangleClipping Inheritance Clipping Inheritance flash.events.EventDispatcher

Rectangle 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
 InheritedobjectCulling : Boolean
Clipping
 Inheritedview : View3D
Clipping
Protected Properties
 PropertyDefined by
 Inheritedini : Init
Clipping
Public Methods
 MethodDefined by
  
RectangleClipping
(init:Object = null)
RectangleClipping
 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
 Inherited
checkElements(mesh:Mesh, clippedFaceVOs:Array, clippedSegmentVOs:Array, clippedSpriteVOs:Array, clippedVertices:Array, clippedIndices:Array, startIndices:Array):void
Clipping
  
checkPrimitive(renderer:Renderer, priIndex:uint):Boolean
Checks a drawing primitive for clipping.
RectangleClipping
  
clone(object:Clipping = null):Clipping
RectangleClipping
 Inherited
rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean
Checks a bounding rectangle for clipping.
Clipping
 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
Used to trace the values of a rectangle clipping object.
Clipping
Constructor detail
RectangleClipping()constructor
public function RectangleClipping(init:Object = null)Parameters
init:Object (default = null)
Init Parameters
 objectCulling:Boolean (default = false)
Method detail
checkPrimitive()method
public override function checkPrimitive(renderer:Renderer, priIndex:uint):Boolean

Checks a drawing primitive for clipping.

Parameters
renderer:Renderer — The drawing primitive being checked.
 
priIndex:uint

Returns
Boolean — The clipping result - false for clipped, true for non-clipped.
clone()method 
public override function clone(object:Clipping = null):Clipping Parameters
object:Clipping (default = null)

Returns
Clipping
Wiki link
Click to go to the wiki page for 'away3d.core.clip.RectangleClipping'

Code examples

Comments