ドキュメント

Unity Engine

Unity Engine

VideoResizeMode

How the video clip's images will be resized during transcoding.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum VideoResizeMode

Remarks

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

Fields

Value

Description

CustomSizeResulting size will be driven by customWidth and customHeight.
HalfResHalf width and height.
OriginalSizeSame width and height as the source.
QuarterResQuarter width and height.
Square1024Fit source in a 1024x1024 rectangle.
Square256Fit source in a 256x256 rectangle.
Square512Fit source in a 512x512 rectangle.
ThreeQuarterRes3/4 width and height.