Package | away3d.core.geom |
Class | public class Frustum |
Property | Defined by | ||
---|---|---|---|
planes : Array | Frustum |
Method | Defined by | ||
---|---|---|---|
Frustum
()
Creates a frustum consisting of 6 planes in 3d space.
| Frustum | ||
classifyAABB(points:Array):int
Classify this axis aligned bounding box against this frustum
| Frustum | ||
Classify this Object3D against this frustum
| Frustum | ||
classifyRadius(radius:Number):int
Classify this radius against this frustum
| Frustum | ||
Classify this sphere against this frustum
| Frustum | ||
Extract this frustum's plane from the 4x4 projection matrix m.
| Frustum |
Constant | Defined by | ||
---|---|---|---|
BOTTOM : int = 3 [static]
| Frustum | ||
FAR : int = 5 [static]
| Frustum | ||
IN : int = 1 [static]
| Frustum | ||
INTERSECT : int = 2 [static]
| Frustum | ||
LEFT : int = 0 [static]
| Frustum | ||
NEAR : int = 4 [static]
| Frustum | ||
OUT : int = 0 [static]
| Frustum | ||
RIGHT : int = 1 [static]
| Frustum | ||
TOP : int = 2 [static]
| Frustum |
planes | property |
public var planes:Array
Frustum | () | constructor |
public function Frustum()
Init Parameters
classifyAABB | () | method |
public function classifyAABB(points:Array):int
Classify this axis aligned bounding box against this frustum
Parameterspoints:Array |
int — int Frustum.IN, Frustum.OUT or Frustum.INTERSECT
|
classifyObject3D | () | method |
public function classifyObject3D(obj:Object3D):int
Classify this Object3D against this frustum
Parametersobj:Object3D |
int — int Frustum.IN, Frustum.OUT or Frustum.INTERSECT
|
classifyRadius | () | method |
public function classifyRadius(radius:Number):int
Classify this radius against this frustum
Parametersradius:Number |
int — int Frustum.IN, Frustum.OUT or Frustum.INTERSECT
|
classifySphere | () | method |
public function classifySphere(center:Number3D, radius:Number):int
Classify this sphere against this frustum
Parameterscenter:Number3D |
|
radius:Number |
int — int Frustum.IN, Frustum.OUT or Frustum.INTERSECT
|
extractFromMatrix | () | method |
public function extractFromMatrix(m:Matrix3D):void
Extract this frustum's plane from the 4x4 projection matrix m.
Parametersm:Matrix3D |
BOTTOM | constant |
public static const BOTTOM:int = 3
FAR | constant |
public static const FAR:int = 5
IN | constant |
public static const IN:int = 1
INTERSECT | constant |
public static const INTERSECT:int = 2
LEFT | constant |
public static const LEFT:int = 0
NEAR | constant |
public static const NEAR:int = 4
OUT | constant |
public static const OUT:int = 0
RIGHT | constant |
public static const RIGHT:int = 1
TOP | constant |
public static const TOP:int = 2