| 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
)
Public Shared Sub scale (
tex As Texture2D,
width As Integer,
height As Integer,
Optional mode As FilterMode = FilterMode.Trilinear
)
public:
static void scale(
Texture2D^ tex,
int width,
int height,
FilterMode mode = FilterMode::Trilinear
)
static member scale :
tex : Texture2D *
width : int *
height : int *
?mode : FilterMode
(* Defaults:
let _mode = defaultArg mode FilterMode.Trilinear
*)
-> unit
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