Click or drag to resize

TextureScalerscaled Method

Returns a scaled copy of given texture.

Namespace:  ASL
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static Texture2D scaled(
	Texture2D src,
	int width,
	int height,
	FilterMode mode = FilterMode.Trilinear
)

Parameters

src
Type: Texture2D

[Missing <param name="src"/> documentation for "M:ASL.TextureScaler.scaled(UnityEngine.Texture2D,System.Int32,System.Int32,UnityEngine.FilterMode)"]

width
Type: SystemInt32
Destination texture width
height
Type: SystemInt32
Destination texture height
mode (Optional)
Type: FilterMode
Filtering mode

Return Value

Type: Texture2D

[Missing <returns> documentation for "M:ASL.TextureScaler.scaled(UnityEngine.Texture2D,System.Int32,System.Int32,UnityEngine.FilterMode)"]

See Also