docs.unity.cn
    Show / Hide Table of Contents

    Struct bool4x3

    A 4x3 matrix of bools.

    Namespace: Unity.Mathematics
    Syntax
    public struct bool4x3 : System.IEquatable<bool4x3>

    Constructors

    Name Description
    bool4x3(Boolean)

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

    bool4x3(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

    Constructs a bool4x3 matrix from 12 bool values given in row-major order.

    bool4x3(bool4, bool4, bool4)

    Constructs a bool4x3 matrix from three bool4 vectors.

    Fields

    Name Description
    c0

    Column 0 of the matrix.

    c1

    Column 1 of the matrix.

    c2

    Column 2 of the matrix.

    Properties

    Name Description
    Item[Int32]

    Returns the bool4 element at a specified index.

    Methods

    Name Description
    Equals(Object)

    Returns true if the bool4x3 is equal to a given bool4x3, false otherwise.

    Equals(bool4x3)

    Returns true if the bool4x3 is equal to a given bool4x3, false otherwise.

    GetHashCode()

    Returns a hash code for the bool4x3.

    ToString()

    Returns a string representation of the bool4x3.

    Operators

    Name Description
    BitwiseAnd(Boolean, bool4x3)

    Returns the result of a componentwise bitwise and operation on a bool value and a bool4x3 matrix.

    BitwiseAnd(bool4x3, Boolean)

    Returns the result of a componentwise bitwise and operation on a bool4x3 matrix and a bool value.

    BitwiseAnd(bool4x3, bool4x3)

    Returns the result of a componentwise bitwise and operation on two bool4x3 matrices.

    BitwiseOr(Boolean, bool4x3)

    Returns the result of a componentwise bitwise or operation on a bool value and a bool4x3 matrix.

    BitwiseOr(bool4x3, Boolean)

    Returns the result of a componentwise bitwise or operation on a bool4x3 matrix and a bool value.

    BitwiseOr(bool4x3, bool4x3)

    Returns the result of a componentwise bitwise or operation on two bool4x3 matrices.

    Equality(Boolean, bool4x3)

    Returns the result of a componentwise equality operation on a bool value and a bool4x3 matrix.

    Equality(bool4x3, Boolean)

    Returns the result of a componentwise equality operation on a bool4x3 matrix and a bool value.

    Equality(bool4x3, bool4x3)

    Returns the result of a componentwise equality operation on two bool4x3 matrices.

    ExclusiveOr(Boolean, bool4x3)

    Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool4x3 matrix.

    ExclusiveOr(bool4x3, Boolean)

    Returns the result of a componentwise bitwise exclusive or operation on a bool4x3 matrix and a bool value.

    ExclusiveOr(bool4x3, bool4x3)

    Returns the result of a componentwise bitwise exclusive or operation on two bool4x3 matrices.

    Implicit(Boolean to bool4x3)

    Implicitly converts a single bool value to a bool4x3 matrix by assigning it to every component.

    Inequality(Boolean, bool4x3)

    Returns the result of a componentwise not equal operation on a bool value and a bool4x3 matrix.

    Inequality(bool4x3, Boolean)

    Returns the result of a componentwise not equal operation on a bool4x3 matrix and a bool value.

    Inequality(bool4x3, bool4x3)

    Returns the result of a componentwise not equal operation on two bool4x3 matrices.

    LogicalNot(bool4x3)

    Returns the result of a componentwise not operation on a bool4x3 matrix.

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