docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor bool3x2

    bool3x2(bool3, bool3)

    Constructs a bool3x2 matrix from two bool3 vectors.

    Declaration
    public bool3x2(bool3 c0, bool3 c1)
    Parameters
    Type Name Description
    bool3 c0

    The matrix column c0 will be set to this value.

    bool3 c1

    The matrix column c1 will be set to this value.

    bool3x2(bool, bool, bool, bool, bool, bool)

    Constructs a bool3x2 matrix from 6 bool values given in row-major order.

    Declaration
    public bool3x2(bool m00, bool m01, bool m10, bool m11, bool m20, bool m21)
    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 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 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.

    bool3x2(bool)

    Constructs a bool3x2 matrix from a single bool value by assigning it to every component.

    Declaration
    public bool3x2(bool v)
    Parameters
    Type Name Description
    bool v

    bool to convert to bool3x2

    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)