|
AR_Engine_SDK
|
Functions | |
| function XViewport | new () end |
| function XViewport | Init (pViewPortParam) end |
| function XViewport | Release () end |
| function XViewport | SetParam (pViewPortParam) end |
| function XViewport | TransformWorldToScreen (vWorldPoint, vScreenPoint) end |
| function XViewport | TransformWorldToScreen (vWorldPoint) end |
| function XViewport | InvTransformScreenToWorld (vScreePoint, vWorldPoint) end |
| function XViewport | InvTransformScreenToWorld (vScreePoint) end |
| function XViewport | SetCamera (pCamera) end |
| function XViewport | GetViewportParam () end |
| function XViewport | GetCamera () end |
| function XViewport | GetViewScale () end |
| function XViewport | GetClearColor () end |
| function XViewport | SetClearColor (clearColor) end |
| function XViewport | EnableClearColor (bClearColor) end |
| function XViewport | IsClearColor () end |
| function XViewport | EnableSwapBuffers (bSwapBuffers) end |
| function XViewport | IsSwapBuffers () end |
Variables | |
| XViewport = {} | |
| function XViewport EnableClearColor | ( | bClearColor | ) |
设置是否启用当前视口背景清除色
| bClearColor | boolean [类型][xbool]是否启用视口背景清除色 |
| function XViewport EnableSwapBuffers | ( | bSwapBuffers | ) |
XViewport_EnableSwapBuffers00
| bSwapBuffers | boolean |
| function XViewport GetCamera | ( | ) |
获取当前视口相机
| function XViewport GetClearColor | ( | ) |
获取当前视口背景清除色
| function XViewport GetViewportParam | ( | ) |
获取当前视口参数
| function XViewport GetViewScale | ( | ) |
获取当前视口缩放矩阵
| function XViewport Init | ( | pViewPortParam | ) |
初始化
| pViewPortParam | XVIEWPORTPARAMETER [类型][XVIEWPORTPARAMETER]视口参数 |
| function XViewport InvTransformScreenToWorld | ( | vScreePoint | , |
| vWorldPoint | |||
| ) |
XViewport_InvTransformScreenToWorld00
| vScreePoint | XVECTOR3 |
| vWorldPoint | XVECTOR3 |
| function XViewport InvTransformScreenToWorld | ( | vScreePoint | ) |
XViewport_InvTransformScreenToWorld01
| vScreePoint | XVECTOR3 |
| function XViewport IsClearColor | ( | ) |
判断是否启用当前视口背景清除色
| function XViewport IsSwapBuffers | ( | ) |
XViewport_IsSwapBuffers00
| function XViewport Release | ( | ) |
释放当前视口中的资源
| function XViewport SetCamera | ( | pCamera | ) |
| function XViewport SetClearColor | ( | clearColor | ) |
设置当前视口背景清除色
| clearColor | number [类型][XCOLOR]视口背景清除色 |
| function XViewport SetParam | ( | pViewPortParam | ) |
设置视口参数
| pViewPortParam | XVIEWPORTPARAMETER [类型][XVIEWPORTPARAMETER]视口参数 |