docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property default2DMaterial

    default2DMaterial

    Returns the default material for the 2D renderer.

    Declaration
    public override Material default2DMaterial { get; }
    Property Value
    Type Description
    Material

    Returns the material containing the default lit and unlit shader passes for sprites in the 2D renderer.

    Overrides
    RenderPipelineAsset.default2DMaterial
    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)