[DOCS] SceneTree stretching constants
This commit is contained in:
parent
00c573c255
commit
5ed0861e81
1 changed files with 8 additions and 0 deletions
|
@ -384,20 +384,28 @@
|
||||||
Call a group only once even if the call is executed many times.
|
Call a group only once even if the call is executed many times.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="STRETCH_MODE_DISABLED" value="0" enum="StretchMode">
|
<constant name="STRETCH_MODE_DISABLED" value="0" enum="StretchMode">
|
||||||
|
No stretching.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="STRETCH_MODE_2D" value="1" enum="StretchMode">
|
<constant name="STRETCH_MODE_2D" value="1" enum="StretchMode">
|
||||||
|
Render stretching in higher resolution (interpolated).
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="STRETCH_MODE_VIEWPORT" value="2" enum="StretchMode">
|
<constant name="STRETCH_MODE_VIEWPORT" value="2" enum="StretchMode">
|
||||||
|
Keep the specified display resolution. No interpolation. Content may appear pixelated.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="STRETCH_ASPECT_IGNORE" value="0" enum="StretchAspect">
|
<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>
|
||||||
<constant name="STRETCH_ASPECT_KEEP" value="1" enum="StretchAspect">
|
<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>
|
||||||
<constant name="STRETCH_ASPECT_KEEP_WIDTH" value="2" enum="StretchAspect">
|
<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>
|
||||||
<constant name="STRETCH_ASPECT_KEEP_HEIGHT" value="3" enum="StretchAspect">
|
<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>
|
||||||
<constant name="STRETCH_ASPECT_EXPAND" value="4" enum="StretchAspect">
|
<constant name="STRETCH_ASPECT_EXPAND" value="4" enum="StretchAspect">
|
||||||
|
Expand in both directions, retaining the same aspect ratio. No black bars.
|
||||||
</constant>
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
|
Loading…
Reference in a new issue