Function convert2WorldSpaceWRT

  • Finds the world space coordinate of the interest point if the camera is at target position. The target position is the "would be" position of the camera in world space. The interest point is the point in view port space where the "bottom left" corner is the origin.

    Parameters

    • targetPosition: Point
    • interestPoint: Point
    • viewPortWidth: number
    • viewPortHeight: number
    • cameraZoomLevel: number
    • cameraRotation: number

    Returns Point