gets the actual window height * * Returns the actual physical window height. * Note that this value might differ from the logical height that is set in the * "game.project" settings. * * @name render.get_window_height * @return height [type:number] actual window height * @examples * * Get the actual height of the window * * ```lua *
| 2652 | * ``` |
| 2653 | */ |
| 2654 | static int RenderScript_GetWindowHeight(lua_State* L) |
| 2655 | { |
| 2656 | RenderScriptInstance* i = RenderScriptInstance_Check(L); |
| 2657 | (void)i; |
| 2658 | lua_pushnumber(L, dmGraphics::GetWindowHeight(i->m_RenderContext->m_GraphicsContext)); |
| 2659 | return 1; |
| 2660 | } |
| 2661 | |
| 2662 | /*# creates a new render predicate |
| 2663 | * |
nothing calls this directly
no test coverage detected