docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method bool4x4

    bool4x4(bool4, bool4, bool4, bool4)

    Returns a bool4x4 matrix constructed from four bool4 vectors.

    Declaration
    public static bool4x4 bool4x4(bool4 c0, bool4 c1, bool4 c2, bool4 c3)
    Parameters
    Type Name Description
    bool4 c0

    The matrix column c0 will be set to this value.

    bool4 c1

    The matrix column c1 will be set to this value.

    bool4 c2

    The matrix column c2 will be set to this value.

    bool4 c3

    The matrix column c3 will be set to this value.

    Returns
    Type Description
    bool4x4

    bool4x4 constructed from arguments.

    bool4x4(bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool)

    Returns a bool4x4 matrix constructed from from 16 bool values given in row-major order.

    Declaration
    public static bool4x4 bool4x4(bool m00, bool m01, bool m02, bool m03, bool m10, bool m11, bool m12, bool m13, bool m20, bool m21, bool m22, bool m23, bool m30, bool m31, bool m32, bool m33)
    Parameters
    Type Name Description
    bool m00

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

    bool m01

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

    bool m02

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

    bool m03

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

    bool m10

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

    bool m11

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

    bool m12

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

    bool m13

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

    bool m20

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

    bool m21

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

    bool m22

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

    bool m23

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

    bool m30

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

    bool m31

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

    bool m32

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

    bool m33

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

    Returns
    Type Description
    bool4x4

    bool4x4 constructed from arguments.

    bool4x4(bool)

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

    Declaration
    public static bool4x4 bool4x4(bool v)
    Parameters
    Type Name Description
    bool v

    bool to convert to bool4x4

    Returns
    Type Description
    bool4x4

    Converted value.

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