docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct bool3x3

    A 3x3 matrix of bools.

    Implements
    IEquatable<bool3x3>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Mathematics
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct bool3x3 : IEquatable<bool3x3>

    Constructors

    Name Description
    bool3x3(bool)

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

    bool3x3(bool, bool, bool, bool, bool, bool, bool, bool, bool)

    Constructs a bool3x3 matrix from 9 bool values given in row-major order.

    bool3x3(bool3, bool3, bool3)

    Constructs a bool3x3 matrix from three bool3 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
    this[int]

    Returns the bool3 element at a specified index.

    Methods

    Name Description
    Equals(object)

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

    Equals(bool3x3)

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

    GetHashCode()

    Returns a hash code for the bool3x3.

    ToString()

    Returns a string representation of the bool3x3.

    Operators

    Name Description
    operator &(bool, bool3x3)

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

    operator &(bool3x3, bool)

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

    operator &(bool3x3, bool3x3)

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

    operator |(bool, bool3x3)

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

    operator |(bool3x3, bool)

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

    operator |(bool3x3, bool3x3)

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

    operator ==(bool, bool3x3)

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

    operator ==(bool3x3, bool)

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

    operator ==(bool3x3, bool3x3)

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

    operator ^(bool, bool3x3)

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

    operator ^(bool3x3, bool)

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

    operator ^(bool3x3, bool3x3)

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

    implicit operator bool3x3(bool)

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

    operator !=(bool, bool3x3)

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

    operator !=(bool3x3, bool)

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

    operator !=(bool3x3, bool3x3)

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

    operator !(bool3x3)

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

    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)