C# Класс Nez.UI.ScalingExt

Показать файл Открыть проект

Открытые методы

Метод Описание
apply ( this self, float sourceWidth, float sourceHeight, float targetWidth, float targetHeight ) : Vector2

Returns the size of the source scaled to the target

Описание методов

apply() публичный статический Метод

Returns the size of the source scaled to the target
public static apply ( this self, float sourceWidth, float sourceHeight, float targetWidth, float targetHeight ) : Vector2
self this Self.
sourceWidth float Source width.
sourceHeight float Source height.
targetWidth float Target width.
targetHeight float Target height.
Результат Vector2