Version: 2018.2

VideoResizeMode

enumeration

マニュアルに切り替える

説明

How the video clip's images will be resized during transcoding.

When choosing a mode that may result in a change in aspect ratio, use the VideoClipImporter.keepRatio property to control the addition of padding.

変数

OriginalSizeSame width and height as the source.
ThreeQuarterRes3/4 width and height.
HalfResHalf width and height.
QuarterResQuarter width and height.
Square1024Fit source in a 1024x1024 rectangle.
Square512Fit source in a 512x512 rectangle.
Square256Fit source in a 256x256 rectangle.
CustomSizeResulting size will be driven by VideoClipImporter.customWidth and VideoClipImporter.customHeight.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961