Packageaway3d.core.block
Classpublic class ConvexBlocker
InheritanceConvexBlocker Inheritance Blocker Inheritance DrawPrimitive

Convex hull that blocks all them primitives containing completely inside

Public Properties
 PropertyDefined by
  boundlines : Array
ConvexBlocker
 InheritedmaxX : int
DrawPrimitive
 InheritedmaxY : int
DrawPrimitive
 InheritedmaxZ : Number
DrawPrimitive
 InheritedminX : int
DrawPrimitive
 InheritedminY : int
DrawPrimitive
 InheritedminZ : Number
DrawPrimitive
 Inheritedprojection : Projection
DrawPrimitive
 InheritedscreenZ : Number
DrawPrimitive
 Inheritedsource : Object3D
DrawPrimitive
Public Methods
 MethodDefined by
  
ConvexBlocker
(vertices:Array)
ConvexBlocker
  
block(pri:DrawPrimitive):Boolean
ConvexBlocker
 Inherited
clear():void
DrawPrimitive
  
contains(x:Number, y:Number):Boolean
ConvexBlocker
 Inherited
getZ(x:Number, y:Number):Number
DrawPrimitive
 Inherited
quarter(focus:Number):Array
DrawPrimitive
  
render(session:RenderSession):void
ConvexBlocker
 Inherited
riddle(another:DrawTriangle, focus:Number):Array
DrawPrimitive
 Inherited
toString():String
DrawPrimitive
Protected Methods
 MethodDefined by
 Inherited
assert(statement:Boolean, message:String = "Assert failure"):void
[static]
DrawPrimitive
Property detail
boundlinesproperty
public var boundlines:Array
Constructor detail
ConvexBlocker()constructor
public function ConvexBlocker(vertices:Array)Parameters
vertices:Array
Init Parameters
Method detail
block()method
public override function block(pri:DrawPrimitive):Boolean Parameters
pri:DrawPrimitive

Returns
Boolean
contains()method 
public override function contains(x:Number, y:Number):Boolean Parameters
x:Number
 
y:Number

Returns
Boolean
render()method 
public override function render(session:RenderSession):void Parameters
session:RenderSession
Wiki link
Click to go to the wiki page for 'away3d.core.block.ConvexBlocker'

Code examples

Comments