鼠标pos 视图的尺寸
mouse.pos
mouse.screenpos
A read only variable to get the mouse position on the screen as a <point2> value.
The coordinates are in pixel values relative to the top-left corner of the screen
screenpos
gw.getWinSizeX() --视口的x
gw.getWinSizeY() --视口的y
getViewSize() ---视口的操作。
Returns the active view size as point2 in pixels.
主动的返回一个二位数组 是基于像素的。
getScreenScaleFactor [.2,.2,.2]
Returns the active view scale factor, giving the width in world-space units at the point's distance from the view space origin.
现在找的是返回窗口的大小
createPreview()
getMAXIniFile() --max de 配置文件