CLASSES
TagsA - Z

BoundingInfo

MeshBounding

Description

class BoundingInfo

Constructor

new BoundingInfo(minimum, maximum)

Parameters

Name Type Description
minimum Vector3
maximum Vector3

Members

minimum : Vector3

maximum : Vector3

boundingBox : BoundingBox

boundingSphere : BoundingSphere

isLocked : boolean

diagonalLength : number

Gets the world distance between the min and max points of the bounding box

Methods

update(world) void

Parameters

Name Type Description
world 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

intersects(boundingInfo, precise) boolean

Parameters

Name Type Description
boundingInfo BoundingInfo
precise boolean