Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Frustum

Represents a camera frustum

Hierarchy

  • Frustum

Index

Methods

Static GetBottomPlaneToRef

  • GetBottomPlaneToRef(transform: Matrix, frustumPlane: Plane): void
  • Gets the bottom frustum plane transformed by the transform matrix

    Parameters

    • transform: Matrix

      transformation matrix to be applied to the resulting frustum plane

    • frustumPlane: Plane

      the resuling frustum plane

    Returns void

Static GetFarPlaneToRef

  • GetFarPlaneToRef(transform: Matrix, frustumPlane: Plane): void
  • Gets the far frustum plane transformed by the transform matrix

    Parameters

    • transform: Matrix

      transformation matrix to be applied to the resulting frustum plane

    • frustumPlane: Plane

      the resuling frustum plane

    Returns void

Static GetLeftPlaneToRef

  • GetLeftPlaneToRef(transform: Matrix, frustumPlane: Plane): void
  • Gets the left frustum plane transformed by the transform matrix

    Parameters

    • transform: Matrix

      transformation matrix to be applied to the resulting frustum plane

    • frustumPlane: Plane

      the resuling frustum plane

    Returns void

Static GetNearPlaneToRef

  • GetNearPlaneToRef(transform: Matrix, frustumPlane: Plane): void
  • Gets the near frustum plane transformed by the transform matrix

    Parameters

    • transform: Matrix

      transformation matrix to be applied to the resulting frustum plane

    • frustumPlane: Plane

      the resuling frustum plane

    Returns void

Static GetPlanes

  • Gets the planes representing the frustum

    Parameters

    • transform: Matrix

      matrix to be applied to the returned planes

    Returns Plane[]

    a new array of 6 Frustum planes computed by the given transformation matrix.

Static GetPlanesToRef

  • GetPlanesToRef(transform: Matrix, frustumPlanes: Plane[]): void
  • Sets the given array "frustumPlanes" with the 6 Frustum planes computed by the given transformation matrix.

    Parameters

    • transform: Matrix

      transformation matrix to be applied to the resulting frustum planes

    • frustumPlanes: Plane[]

      the resuling frustum planes

    Returns void

Static GetRightPlaneToRef

  • GetRightPlaneToRef(transform: Matrix, frustumPlane: Plane): void
  • Gets the right frustum plane transformed by the transform matrix

    Parameters

    • transform: Matrix

      transformation matrix to be applied to the resulting frustum plane

    • frustumPlane: Plane

      the resuling frustum plane

    Returns void

Static GetTopPlaneToRef

  • GetTopPlaneToRef(transform: Matrix, frustumPlane: Plane): void
  • Gets the top frustum plane transformed by the transform matrix

    Parameters

    • transform: Matrix

      transformation matrix to be applied to the resulting frustum plane

    • frustumPlane: Plane

      the resuling frustum plane

    Returns void