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.