UnityEngine.Texture2D.Texture2D C# (CSharp) Méthode

Texture2D() public méthode

See Also: SetPixel, SetPixels, Apply functions.

public Texture2D ( int width, int height, TextureFormat format, bool mipmap, bool linear ) : System
width int
height int
format TextureFormat
mipmap bool
linear bool
Résultat System
        public Texture2D(int width, int height, TextureFormat format, bool mipmap, bool linear)
        {
            Internal_Create(this, width, height, format, mipmap, linear, IntPtr.Zero);
        }

Same methods

Texture2D::Texture2D ( int width, int height ) : System
Texture2D::Texture2D ( int width, int height, TextureFormat format, bool mipmap ) : System
Texture2D::Texture2D ( int width, int height, TextureFormat format, bool mipmap, bool linear, IntPtr nativeTex ) : System