ICullable

Hierarchy

  • ICullable

Implemented by

Index

Methods

isCompletelyInFrustum

Find examples in Playground
  • isCompletelyInFrustum(frustumPlanes: Plane[]): boolean
  • Checks if a cullable object (mesh...) is in the camera frustum Unlike isInFrustum this cheks the full bounding box

    Parameters

    • frustumPlanes: Plane[]

      Camera near/planes

    Returns boolean

    true if the object is in frustum otherwise false

isInFrustum

Find examples in Playground
  • isInFrustum(frustumPlanes: Plane[]): boolean
  • Checks if the object or part of the object is in the frustum

    Parameters

    • frustumPlanes: Plane[]

      Camera near/planes

    Returns boolean

    true if the object is in frustum otherwise false

Generated using TypeDoc