Skip to reading
3D Models & Video in GUIs

Content Fit: check the current limitation

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 18. The same clip in square content rectangles. In this build the decoded video fills its rectangle across these settings.

The current GUI video implementation does not apply the full Image element’s contain/cover/stretch layout logic to decoded movie frames. It gives the player the authored content rectangle. Content Fit does control how a fallback poster texture is fitted.

For predictable movie proportions, match the actual content rectangle to the source aspect ratio. If a 16:9 picture is forced into a square rectangle, changing this field alone is not a dependable way to recover the original proportions in 0.86.3.4.

The frame and background can use rounded artwork. The native player is clipped by the element rectangle; do not assume a rounded border also supplies a rounded movie mask.

Check these details after an engine update. The fields may remain in the same place even when the implementation changes, so compare the actual playback rather than relying only on the setting name.

Page 27 of 45Permalink
Go to page