Package | away3d.core.block |
Class | public class Blocker |
Inheritance | Blocker DrawPrimitive |
Subclasses | ConvexBlocker |
Method | Defined by | ||
---|---|---|---|
Return value signifies whether the given drawprimitive should be blocked.
| Blocker | ||
calc():void
Calculates the min, max and screen properties required for rendering the drawing primitive.
| DrawPrimitive | ||
clear():void
Deletes the data currently held by the drawing primitive.
| DrawPrimitive | ||
contains(x:Number, y:Number):Boolean
Determines whether the given point lies inside the drawing primitive
| DrawPrimitive | ||
getZ(x:Number, y:Number):Number
Calulates the screen z value of a precise point on the drawing primitive.
| DrawPrimitive | ||
quarter(focus:Number):Array
Cuts the drawing primitive into 4 equally sized drawing primitives.
| DrawPrimitive | ||
render():void
Draws the primitive to the view.
| DrawPrimitive | ||
toString():String
Used to trace the values of a drawing primitive.
| DrawPrimitive |
block | () | method |
public function block(pri:DrawPrimitive):Boolean
Return value signifies whether the given drawprimitive should be blocked. Called from the PrimitiveArray object on each blocker in the blockers array.
Parameterspri:DrawPrimitive |
Boolean |
See also