docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BitMaskToString

    BitMaskToString(uint)

    Converts a bitmask integer to a string representation of its binary expression, e.g. a mask value of 4 will return a string with the 3rd bit set: 00000000000000000000000000000100

    Declaration
    public static string BitMaskToString(uint mask)
    Parameters
    Type Name Description
    uint mask

    The bitmask in integer format.

    Returns
    Type Description
    string

    A string that represents the bitmask.

    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)