Skip to reading
3D Models & Video in GUIs

18. Lay out the content rectangle

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Figure 17. The four margins inset the video content. The section is shared with Image controls.

The visible content rectangle is the element’s Width and Height minus its left/right and top/bottom margins. Leave room around it for the frame and the control Buttons.

Source table from 18. Lay out the content rectangle, page 26
Source shapeExample content rectangle
16:9720 by 405, or 640 by 360.
4:3640 by 480.
Square400 by 400.

To put a 16:9 clip inside a larger square panel without distortion, use a wide Video element inside that panel and leave the unused area to the surrounding GUI. Do not stretch the element to a square and assume it will always letterbox automatically.

Animation Frame Asset IDs and Image Animation FPS may be visible in the shared layout section. They are Image settings; they do not set the Video element’s decoded frame rate or create a video animation sequence.

Page 26 of 45Permalink
Go to page