<transform>.makeOrtho2D

Set matrix to a 2D orthographic projection matrix

 

<transform>.makeOrtho2D(
    left    
    right    
    bottom    
    top    

)

 

left

Specify the coordinate for the left vertical clipping plane.


right

Specify the coordinate for the right vertical clipping plane.


bottom

Specify the coordinate for the bottom horizontal clipping plane.


top

Specify the coordinate for the top horizontal clipping plane.


Remarks

Convert the transform to 2D orthographic projection matrix.

Return Value

None