This function creates an orthographic project based on a screen size.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void Ortho2D(
double left,
double right,
double bottom,
double top
)
参数
- left
- 类型:SystemDouble
Left of the screen. (Normally 0). - right
- 类型:SystemDouble
Right of the screen.(Normally width). - bottom
- 类型:SystemDouble
Bottom of the screen (normally 0). - top
- 类型:SystemDouble
Top of the screen (normally height).
参见