Click or drag to resize

TextureScalerscale Method

Scales the texture data of the given texture.

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

Parameters

tex
Type: Texture2D
Texure to scale
width
Type: SystemInt32
New width
height
Type: SystemInt32
New height
mode (Optional)
Type: FilterMode
Filtering mode
See Also