Function: getNormalizedPixelCoordinatesBySize()
getNormalizedPixelCoordinatesBySize(
pixelX
,pixelY
,width
,height
):THREE.Vector2
Converts a pixel coordinate to normalized device coordinate (in range [-1, 1])
Parameters
• pixelX: number
• pixelY: number
• width: number
• height: number
Returns
THREE.Vector2