| 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 | ||
classifyObject3D(obj:Object3D):int
Classify this Object3D against this frustum
| Frustum | ||
classifyRadius(radius:Number):int
Classify this radius against this frustum
| Frustum | ||
classifySphere(center:Vector3D, radius:Number):int
Classify this sphere against this frustum
| Frustum | ||
extractFromMatrix(m:Matrix3D):void
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:Vector.<Plane3D>| Frustum | () | Constructor |
public function Frustum()Creates a frustum consisting of 6 planes in 3d space.
| classifyAABB | () | method |
public function classifyAABB(points:Array):intClassify this axis aligned bounding box against this frustum
Parameters
points:Array |
int — int Frustum.IN, Frustum.OUT or Frustum.INTERSECT
|
| classifyObject3D | () | method |
public function classifyObject3D(obj:Object3D):intClassify this Object3D against this frustum
Parameters
obj:Object3D |
int — int Frustum.IN, Frustum.OUT or Frustum.INTERSECT
|
| classifyRadius | () | method |
public function classifyRadius(radius:Number):intClassify this radius against this frustum
Parameters
radius:Number |
int — int Frustum.IN, Frustum.OUT or Frustum.INTERSECT
|
| classifySphere | () | method |
public function classifySphere(center:Vector3D, radius:Number):intClassify this sphere against this frustum
Parameters
center:Vector3D | |
radius:Number |
int — int Frustum.IN, Frustum.OUT or Frustum.INTERSECT
|
| extractFromMatrix | () | method |
public function extractFromMatrix(m:Matrix3D):voidExtract this frustum's plane from the 4x4 projection matrix m.
Parameters
m: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