[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/Unity.Mathematics.bool4x4.html [Back]  [Original]

Unity - Scripting API: bool4x4
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    bool4x4

    struct in Unity.Mathematics

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Description

    A 4x4 matrix of bools.

    Properties

    Property Description
    c0Column 0 of the matrix.
    c1Column 1 of the matrix.
    c2Column 2 of the matrix.
    c3Column 3 of the matrix.
    this[int]Returns the bool4 element at a specified index.

    Constructors

    Constructor Description
    bool4x4Constructs a bool4x4 matrix from four bool4 vectors.

    Public Methods

    Method Description
    EqualsReturns true if the bool4x4 is equal to a given bool4x4, false otherwise.
    GetHashCodeReturns a hash code for the bool4x4.
    ToStringReturns a string representation of the bool4x4.

    Operators

    Operator Description
    bool4x4Implicitly converts a single bool value to a bool4x4 matrix by assigning it to every component.
    operator !Returns the result of a componentwise not operation on a bool4x4 matrix.
    operator !=Returns the result of a componentwise not equal operation on two bool4x4 matrices.
    operator &Returns the result of a componentwise bitwise and operation on two bool4x4 matrices.
    operator ^Returns the result of a componentwise bitwise exclusive or operation on two bool4x4 matrices.
    operator ==Returns the result of a componentwise equality operation on two bool4x4 matrices.
    operator |Returns the result of a componentwise bitwise or operation on two bool4x4 matrices.

    Web Proxy Viewer  |  New URL  |  Original Page