docs.unity.cn
    Show / Hide Table of Contents

    Method bool2x3

    bool2x3(bool2, bool2, bool2)

    Returns a bool2x3 matrix constructed from three bool2 vectors.

    Declaration
    public static bool2x3 bool2x3(bool2 c0, bool2 c1, bool2 c2)
    Parameters
    Type Name Description
    bool2 c0

    The matrix column c0 will be set to this value.

    bool2 c1

    The matrix column c1 will be set to this value.

    bool2 c2

    The matrix column c2 will be set to this value.

    Returns
    Type Description
    bool2x3

    bool2x3 constructed from arguments.

    bool2x3(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

    Returns a bool2x3 matrix constructed from from 6 bool values given in row-major order.

    Declaration
    public static bool2x3 bool2x3(bool m00, bool m01, bool m02, bool m10, bool m11, bool m12)
    Parameters
    Type Name Description
    Boolean m00

    The matrix at row 0, column 0 will be set to this value.

    Boolean m01

    The matrix at row 0, column 1 will be set to this value.

    Boolean m02

    The matrix at row 0, column 2 will be set to this value.

    Boolean m10

    The matrix at row 1, column 0 will be set to this value.

    Boolean m11

    The matrix at row 1, column 1 will be set to this value.

    Boolean m12

    The matrix at row 1, column 2 will be set to this value.

    Returns
    Type Description
    bool2x3

    bool2x3 constructed from arguments.

    bool2x3(Boolean)

    Returns a bool2x3 matrix constructed from a single bool value by assigning it to every component.

    Declaration
    public static bool2x3 bool2x3(bool v)
    Parameters
    Type Name Description
    Boolean v

    bool to convert to bool2x3

    Returns
    Type Description
    bool2x3

    Converted value.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023