ViewportContainer.xml 760 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="ViewportContainer" inherits="Container" category="Core" version="3.1">
  3. <brief_description>
  4. Control for holding [Viewport]s.
  5. </brief_description>
  6. <description>
  7. A [Container] node that holds a [Viewport], automatically setting its size.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. </methods>
  15. <members>
  16. <member name="stretch" type="bool" setter="set_stretch" getter="is_stretch_enabled">
  17. If [code]true[/code], the viewport will be scaled to the control's size. Default value:[code]false[/code].
  18. </member>
  19. <member name="stretch_shrink" type="int" setter="set_stretch_shrink" getter="get_stretch_shrink">
  20. </member>
  21. </members>
  22. <constants>
  23. </constants>
  24. </class>