Class TextureSettings | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class TextureSettings

    Inheritance
    System.Object
    TextureSettings
    Namespace: UnityEditor.Experimental.U2D.Common
    Syntax
    [Serializable]
    public class TextureSettings : ITextureSettings

    Constructors

    TextureSettings()

    Declaration
    public TextureSettings()

    TextureSettings(String, Boolean, Boolean, Boolean, TextureImporterNPOTScale, FilterMode, Int32, Boolean, Boolean)

    Declaration
    public TextureSettings(string assetPath, bool enablePostProcessor, bool colorTexture, bool readable, TextureImporterNPOTScale npotScale, FilterMode filterMode, int aniso, bool sourceContainsAlpha, bool sourceWasHDR)
    Parameters
    Type Name Description
    System.String assetPath
    System.Boolean enablePostProcessor
    System.Boolean colorTexture
    System.Boolean readable
    TextureImporterNPOTScale npotScale
    FilterMode filterMode
    System.Int32 aniso
    System.Boolean sourceContainsAlpha
    System.Boolean sourceWasHDR

    Properties

    aniso

    Declaration
    public int aniso { get; set; }
    Property Value
    Type Description
    System.Int32

    assetPath

    Declaration
    public string assetPath { get; set; }
    Property Value
    Type Description
    System.String

    colorTexture

    Declaration
    public bool colorTexture { get; set; }
    Property Value
    Type Description
    System.Boolean

    containsAlpha

    Declaration
    public bool containsAlpha { get; set; }
    Property Value
    Type Description
    System.Boolean

    enablePostProcessor

    Declaration
    public bool enablePostProcessor { get; set; }
    Property Value
    Type Description
    System.Boolean

    filterMode

    Declaration
    public FilterMode filterMode { get; set; }
    Property Value
    Type Description
    FilterMode

    hdr

    Declaration
    public bool hdr { get; set; }
    Property Value
    Type Description
    System.Boolean

    npotScale

    Declaration
    public TextureImporterNPOTScale npotScale { get; set; }
    Property Value
    Type Description
    TextureImporterNPOTScale

    readable

    Declaration
    public bool readable { get; set; }
    Property Value
    Type Description
    System.Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023