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