Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bool3x4

Constructs a bool3x4 matrix from four bool3 vectors.
Read time 2 minutesLast updated 4 days ago

Definition

  • Type: Constructor
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule

bool3x4(bool3, bool3, bool3, bool3)

Constructs a bool3x4 matrix from four bool3 vectors.
public bool3x4(bool3 c0, bool3 c1, bool3 c2, bool3 c3)

Parameters

The matrix column c0 will be set to this value.

The matrix column c1 will be set to this value.

The matrix column c2 will be set to this value.

The matrix column c3 will be set to this value.

bool3x4(bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool)

Constructs a bool3x4 matrix from 12 bool values given in row-major order.
public bool3x4(bool m00, bool m01, bool m02, bool m03, bool m10, bool m11, bool m12, bool m13, bool m20, bool m21, bool m22, bool m23)

Parameters

m00

The matrix at row 0, column 0 will be set to this value.

m01

The matrix at row 0, column 1 will be set to this value.

m02

The matrix at row 0, column 2 will be set to this value.

m03

The matrix at row 0, column 3 will be set to this value.

m10

The matrix at row 1, column 0 will be set to this value.

m11

The matrix at row 1, column 1 will be set to this value.

m12

The matrix at row 1, column 2 will be set to this value.

m13

The matrix at row 1, column 3 will be set to this value.

m20

The matrix at row 2, column 0 will be set to this value.

m21

The matrix at row 2, column 1 will be set to this value.

m22

The matrix at row 2, column 2 will be set to this value.

m23

The matrix at row 2, column 3 will be set to this value.

bool3x4(bool)

Constructs a bool3x4 matrix from a single bool value by assigning it to every component.
public bool3x4(bool v)

Parameters

bool to convert to bool3x4