Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FitOutside

Resize the image proportionally so that the content fits the target area. The VideoPlayer automatically crops the image if needed.
Read time 1 minuteLast updated 12 days ago

Definition

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.