docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FillUnusedPixels

    FillUnusedPixels(uint, ColorAlpha)

    Fill unused pixels by propagating and averaging used pixels

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public uint FillUnusedPixels(uint image, ColorAlpha unusedColor)
    Parameters
    Type Name Description
    uint image

    Image to process

    ColorAlpha unusedColor

    Color used to identify unused pixels

    Returns
    Type Description
    uint
    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)