docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor TextureParameter

    TextureParameter(Texture, bool)

    Creates a new TextureParameter instance.

    Declaration
    public TextureParameter(Texture value, bool overrideState = false)
    Parameters
    Type Name Description
    Texture value

    The initial value to store in the parameter.

    bool overrideState

    The initial override state for the parameter.

    TextureParameter(Texture, TextureDimension, bool)

    Creates a new TextureParameter instance.

    Declaration
    public TextureParameter(Texture value, TextureDimension dimension, bool overrideState = false)
    Parameters
    Type Name Description
    Texture value

    The initial value to store in the parameter.

    TextureDimension dimension

    The accepted dimension of textures.

    bool overrideState

    The initial override state for the parameter.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)