mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
BGE: New API method getDisplayDimensions
This patch adds a new API function to get the actual display dimensions in pixels. Reviewers: dfelinto, sybren, lordloki, moguri Reviewed By: lordloki, moguri Differential Revision: https://developer.blender.org/D648
This commit is contained in:
parent
f9f3c29a3a
commit
e36b0cb8f3
8 changed files with 47 additions and 0 deletions
|
|
@ -123,6 +123,12 @@ Functions
|
|||
|
||||
:rtype: bool
|
||||
|
||||
.. function:: getDisplayDimensions()
|
||||
|
||||
Get the actual display dimensions, in pixels, of the physical display (e.g., the monitor).
|
||||
|
||||
:type dimension: list [width,heigh]
|
||||
|
||||
.. function:: makeScreenshot(filename)
|
||||
|
||||
Writes an image file with the current displayed frame.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue