docs.unity.cn
    Show / Hide Table of Contents

    Operator Implicit

    Implicit(Boolean to bool4)

    Implicitly converts a single bool value to a bool4 vector by assigning it to every component.

    Declaration
    public static implicit operator bool4(bool v)
    Parameters
    Type Name Description
    Boolean v

    bool to convert to bool4

    Returns
    Type Description
    bool4

    Converted value.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use