docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsDoubleSided

    IsDoubleSided(Material, int)

    Retrieves whether material is double-sided.

    Declaration
    protected static bool IsDoubleSided(Material uMaterial, int cullPropId)
    Parameters
    Type Name Description
    Material uMaterial

    Material to analyze.

    int cullPropId

    CullMode property id.

    Returns
    Type Description
    bool

    True if material is double-sided, false otherwise.

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