docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetColorAlphaProperty

    SetColorAlphaProperty(uint, string, ColorAlpha)

    Set a ColorAlpha property

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void SetColorAlphaProperty(uint material, string name, ColorAlpha color)
    Parameters
    Type Name Description
    uint material

    The material to apply the color on

    string name

    The property to set

    ColorAlpha color

    The color to apply

    In This Article
    Back to top
    Copyright © 2025 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)