Click or drag to resize

FingersImageAutomationScriptScaleTexture Method

Scale a texture to a new size

Namespace:  DigitalRubyShared
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static Texture2D ScaleTexture(
	Texture src,
	int width,
	int height
)

Parameters

src
Type: Texture
Source texture
width
Type: SystemInt32
New width
height
Type: SystemInt32
New height

Return Value

Type: Texture2D
New texture
See Also