Description
class BoundingBox
Constructor
Parameters
Members
extendSizeWorld : Vector3
directions : Vector3[]
vectorsWorld : Vector3[]
minimumWorld : Vector3
maximumWorld : Vector3
Methods
getWorldMatrix() → Matrix
setWorldMatrix(matrix) → BoundingBox
Parameters
|
Name |
Type |
Description |
|
matrix |
Matrix |
|
isInFrustum(frustumPlanes) → boolean
Parameters
|
Name |
Type |
Description |
|
frustumPlanes |
Plane[] |
|
isCompletelyInFrustum(frustumPlanes) → boolean
Parameters
|
Name |
Type |
Description |
|
frustumPlanes |
Plane[] |
|
intersectsPoint(point) → boolean
Parameters
|
Name |
Type |
Description |
|
point |
Vector3 |
|
intersectsSphere(sphere) → boolean
Parameters
intersectsMinMax(min, max) → boolean
Parameters
static Intersects(box0, box1) → boolean
Parameters
static IntersectsSphere(minPoint, maxPoint, sphereCenter, sphereRadius) → boolean
Parameters
static IsCompletelyInFrustum(boundingVectors, frustumPlanes) → boolean
Parameters
|
Name |
Type |
Description |
|
boundingVectors |
Vector3[] |
|
|
frustumPlanes |
Plane[] |
|
static IsInFrustum(boundingVectors, frustumPlanes) → boolean
Parameters
|
Name |
Type |
Description |
|
boundingVectors |
Vector3[] |
|
|
frustumPlanes |
Plane[] |
|