Package | away3d.core.clip |
Class | public class FrustumClipping |
Inheritance | FrustumClipping Clipping flash.events.EventDispatcher |
Property | Defined 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 | ||
objectCulling : Boolean [write-only]
| FrustumClipping | ||
view : View3D | Clipping |
Method | Defined by | ||
---|---|---|---|
FrustumClipping
(init:Object = null) | FrustumClipping | ||
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, clippedBillboards:Array, clippedVertices:Array, clippedCommands:Array, clippedIndices:Array, startIndices:Array):void
| FrustumClipping | ||
Checks a drawing primitive for clipping.
| Clipping | ||
FrustumClipping | |||
rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean
Checks a bounding rectangle for clipping.
| FrustumClipping | ||
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 |
objectCulling | property |
objectCulling:Boolean
[write-only]Implementation
public function set objectCulling(value:Boolean):void
FrustumClipping | () | constructor |
public function FrustumClipping(init:Object = null)
Parameters
init:Object (default = null )
|
objectCulling:Boolean (default = true) |
checkElements | () | method |
public override function checkElements(mesh:Mesh, clippedFaceVOs:Array, clippedSegmentVOs:Array, clippedBillboards:Array, clippedVertices:Array, clippedCommands:Array, clippedIndices:Array, startIndices:Array):void
Parameters
mesh:Mesh |
|
clippedFaceVOs:Array |
|
clippedSegmentVOs:Array |
|
clippedBillboards:Array |
|
clippedVertices:Array |
|
clippedCommands:Array |
|
clippedIndices:Array |
|
startIndices:Array |
clone | () | method |
public override function clone(object:Clipping = null):Clipping
Parameters
object:Clipping (default = null )
|
Clipping |
rect | () | method |
public override function rect(minX:Number, minY:Number, maxX:Number, maxY:Number):Boolean
Checks a bounding rectangle for clipping.
ParametersminX: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.
|
Boolean — The clipping result - false for clipped, true for non-clipped.
|