docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetTextureOutputFromChannelMask

    GetTextureOutputFromChannelMask(Vector4)

    Convert the channel mask to a texture output name

    Declaration
    public static string GetTextureOutputFromChannelMask(Vector4 channelMask)
    Parameters
    Type Name Description
    Vector4 channelMask

    The input mask with 1 of 4 channels non-zero

    Returns
    Type Description
    string

    The texture output name as a string

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