diff options
author | Chris Bradfield <cb@scribe.net> | 2018-08-06 21:17:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-06 21:17:45 -0700 |
commit | 619ba76f46544b3e8f449177830032fec3f129e9 (patch) | |
tree | ac2b47a65d49f947b7c40d0b60f8b25a594643f0 | |
parent | 5b70ad9d34d2777e3abd0a13118442eb132aff70 (diff) | |
parent | 5ed0861e8112d903edd519ca7e5f00316061d8dd (diff) |
Merge pull request #20779 from Noshyaar/stretch
[DOCS] SceneTree stretching constants
-rw-r--r-- | doc/classes/SceneTree.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml index f5a19ede0c..c85bee9b84 100644 --- a/doc/classes/SceneTree.xml +++ b/doc/classes/SceneTree.xml @@ -384,20 +384,28 @@ Call a group only once even if the call is executed many times. </constant> <constant name="STRETCH_MODE_DISABLED" value="0" enum="StretchMode"> + No stretching. </constant> <constant name="STRETCH_MODE_2D" value="1" enum="StretchMode"> + Render stretching in higher resolution (interpolated). </constant> <constant name="STRETCH_MODE_VIEWPORT" value="2" enum="StretchMode"> + Keep the specified display resolution. No interpolation. Content may appear pixelated. </constant> <constant name="STRETCH_ASPECT_IGNORE" value="0" enum="StretchAspect"> + Fill the window with the content stretched to cover excessive space. Content may appear elongated. </constant> <constant name="STRETCH_ASPECT_KEEP" value="1" enum="StretchAspect"> + Retain the same aspect ratio by padding with black bars in either axes. No expansion of content. </constant> <constant name="STRETCH_ASPECT_KEEP_WIDTH" value="2" enum="StretchAspect"> + Expand vertically. Left/right black bars may appear if the window is too wide. </constant> <constant name="STRETCH_ASPECT_KEEP_HEIGHT" value="3" enum="StretchAspect"> + Expand horizontally. Top/bottom black bars may appear if the window is too tall. </constant> <constant name="STRETCH_ASPECT_EXPAND" value="4" enum="StretchAspect"> + Expand in both directions, retaining the same aspect ratio. No black bars. </constant> </constants> </class> |