Package | away3d.core.clip |
Class | public class RectangleClipping |
Inheritance | RectangleClipping Clipping flash.events.EventDispatcher |
Method | Defined by | ||
---|---|---|---|
RectangleClipping
(init:Object = null) | RectangleClipping | ||
addOnClippingUpdate(listener:Function):void
Default method for adding a clippingUpdated event listener
| Clipping | ||
addOnScreenUpdate(listener:Function):void
Default method for adding a screenUpdated event listener
| Clipping | ||
checkElements(mesh:Mesh, clippedFaceVOs:Array, clippedSegmentVOs:Array, clippedSpriteVOs:Array, clippedVertices:Array, clippedIndices:Array, startIndices:Array):void
| Clipping | ||
Checks a drawing primitive for clipping.
| RectangleClipping | ||
RectangleClipping | |||
rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean
Checks a bounding rectangle for clipping.
| Clipping | ||
removeOnClippingUpdate(listener:Function):void
Default method for removing a clippingUpdated event listener
| Clipping | ||
removeOnScreenUpdate(listener:Function):void
Default method for removing a screenUpdated event listener
| Clipping | ||
Returns a clipping object initilised with the edges of the flash movie as the clipping bounds.
| Clipping | ||
toString():String
Used to trace the values of a rectangle clipping object.
| Clipping |
RectangleClipping | () | constructor |
public function RectangleClipping(init:Object = null)
Parameters
init:Object (default = null )
|
objectCulling:Boolean (default = false) |
checkPrimitive | () | method |
public override function checkPrimitive(renderer:Renderer, priIndex:uint):Boolean
Checks a drawing primitive for clipping.
Parametersrenderer:Renderer — The drawing primitive being checked.
|
|
priIndex:uint |
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 )
|
Clipping |