BoundingInfo

Hierarchy

  • BoundingInfo

Implements

Index

Constructors

constructor

Properties

boundingBox

boundingBox: BoundingBox

boundingSphere

boundingSphere: BoundingSphere

diagonalLength

diagonalLength: number

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

isLocked

isLocked: boolean

maximum

maximum: Vector3

minimum

minimum: Vector3

Methods

centerOn

  • Recreate the bounding info to be centered around a specific point given a specific extend.

    Parameters

    • center: Vector3

      New center of the bounding info

    • extend: Vector3

      New extend of the bounding info

    Returns BoundingInfo

intersects

  • intersects(boundingInfo: BoundingInfo, precise: boolean): boolean
  • Parameters

    Returns boolean

intersectsPoint

  • intersectsPoint(point: Vector3): boolean
  • Parameters

    Returns boolean

isCompletelyInFrustum

  • isCompletelyInFrustum(frustumPlanes: Plane[]): boolean

isInFrustum

  • isInFrustum(frustumPlanes: Plane[]): boolean

update

  • Parameters

    Returns void

Generated using TypeDoc