Function pointIsInViewPort

  • Checks if a point is in the view port. The point is in world space. The camera position is the position of the camera in world space.

    Parameters

    • point: Point
    • viewPortWidth: number
    • viewPortHeight: number
    • cameraPosition: Point
    • cameraZoomLevel: number
    • cameraRotation: number

    Returns boolean