FitOutside
Resize the image proportionally so that the content fits the target area. The VideoPlayer automatically crops the image if needed.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Video
- Assembly: UnityEngine.VideoModule
FitOutside = 4
Remarks
Use this setting to make the video cover the entire object, but keep the video’s dimensions. This setting avoids distortion and black bars. Useful if you want to cover areas like skyboxes or backgrounds where you don't want black bars to show. The VideoPlayer automatically crops the image if needed.