Add meta
This commit is contained in:
5
Meta/api/MovieRecording_GetAspectRatio.lua
Normal file
5
Meta/api/MovieRecording_GetAspectRatio.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return number ratio
|
||||
---Returns the aspect ratio of the game display. Used in the default UI to calculate dimensions for scaling captured video to predetermined widths. For example, if the aspect ratio is 0.75 (as on a 1600x1200 screen), a movie scaled to 640 pixels wide will be 480 pixels tall; but if the aspect ratio is 0.625 (as on a 1440x900 screen), a movie scaled to 640 pixels wide will be 400 pixels tall.
|
||||
function MovieRecording_GetAspectRatio() end
|
||||
Reference in New Issue
Block a user