Show / Hide Table of Contents

Method CreateScaledTexture

| Edit this page View Source

CreateScaledTexture(Texture2D, int)

Create a new, scaled texture from a given texture.
Declaration
public static Texture2D CreateScaledTexture(Texture2D texture, int width)
Parameters
Type Name Description
Texture2D texture Source texture to scale
int width New width of the scaled texture
Returns
Type Description
Texture2D
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾