기술 자료

Unity Engine

Unity Engine

BackgroundPropertyHelper

Helper to convert between background properties and ScaleMode.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static class BackgroundPropertyHelper

Remarks

For more information, Refer to Set the scale mode for a background image.

Static Methods

Method

Description

ConvertScaleModeToBackgroundPositionConverts ScaleMode to the equivalent BackgroundPosition property.
ConvertScaleModeToBackgroundRepeatConverts ScaleMode to the equivalent BackgroundRepeat property.
ConvertScaleModeToBackgroundSizeConverts ScaleMode to the equivalent BackgroundSize property.
ResolveUnityBackgroundScaleModeResolves the background properties to a valid ScaleMode.