Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bool4x3

A 4x3 matrix of bools.
Read time 2 minutesLast updated 10 days ago

Definition

public struct bool4x3 : IEquatable<bool4x3>

Fields

Value

Description

c0Column 0 of the matrix.
c1Column 1 of the matrix.
c2Column 2 of the matrix.

Constructors

Constructor

Description

bool4x3(System.Boolean)Constructs a bool4x3 matrix from a single bool value by assigning it to every component.
bool4x3(System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)Constructs a bool4x3 matrix from 12 bool values given in row-major order.
bool4x3(Unity.Mathematics.bool4,Unity.Mathematics.bool4,Unity.Mathematics.bool4)Constructs a bool4x3 matrix from three bool4 vectors.

Properties

Property

Description

this[]Returns the bool4 element at a specified index.

Methods

Method

Description

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

Operators

Operator

Description

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