ドキュメント

Unity Engine

Unity Engine

ResolveUnityBackgroundScaleMode(BackgroundPosition, BackgroundPosition, BackgroundRepeat, BackgroundSize, out bool)

Resolves the background properties to a valid ScaleMode.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

ResolveUnityBackgroundScaleMode(BackgroundPosition, BackgroundPosition, BackgroundRepeat, BackgroundSize, bool)

public static ScaleMode ResolveUnityBackgroundScaleMode(BackgroundPosition backgroundPositionX, BackgroundPosition backgroundPositionY, BackgroundRepeat backgroundRepeat, BackgroundSize backgroundSize, out bool valid)

Parameters

backgroundPositionX

The X BackgroundPosition to resolve.

backgroundPositionY

The Y BackgroundPosition to resolve.

backgroundRepeat

The BackgroundRepeat to resolve.

backgroundSize

The BackgroundSize to resolve.

valid

Indicates whether the background properties resolve to a valid ScaleMode.

Returns

Type

Description

ScaleModeScaleMode.