C# 클래스 Nez.UI.ScalingExt

파일 보기 프로젝트 열기: prime31/Nez

공개 메소드들

메소드 설명
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