Method | Description | |
---|---|---|
apply ( this self, float sourceWidth, float sourceHeight, float targetWidth, float targetHeight ) : Vector2 |
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. |
return | Vector2 |