float3x4
A 3x4 matrix of floats.
Read time 3 minutesLast updated 4 days ago
Definition
- Type: Struct
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
- Implements: IEquatable<float3x4>, IFormattable
public struct float3x4 : IEquatable<float3x4>, IFormattable
Fields
Value | Description |
|---|---|
| c0 | Column 0 of the matrix. |
| c1 | Column 1 of the matrix. |
| c2 | Column 2 of the matrix. |
| c3 | Column 3 of the matrix. |
Static Fields
Value | Description |
|---|---|
| zero | float3x4 zero value. |
Constructors
Constructor | Description |
|---|---|
| float3x4(System.Boolean) | Constructs a float3x4 matrix from a single bool value by converting it to float and assigning it to every component. |
| float3x4(System.Double) | Constructs a float3x4 matrix from a single double value by converting it to float and assigning it to every component. |
| float3x4(System.Int32) | Constructs a float3x4 matrix from a single int value by converting it to float and assigning it to every component. |
| float3x4(System.Single) | Constructs a float3x4 matrix from a single float value by assigning it to every component. |
| float3x4(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single) | Constructs a float3x4 matrix from 12 float values given in row-major order. |
| float3x4(System.UInt32) | Constructs a float3x4 matrix from a single uint value by converting it to float and assigning it to every component. |
| float3x4(Unity.Mathematics.bool3x4) | Constructs a float3x4 matrix from a bool3x4 matrix by componentwise conversion. |
| float3x4(Unity.Mathematics.double3x4) | Constructs a float3x4 matrix from a double3x4 matrix by componentwise conversion. |
| float3x4(Unity.Mathematics.float3,Unity.Mathematics.float3,Unity.Mathematics.float3,Unity.Mathematics.float3) | Constructs a float3x4 matrix from four float3 vectors. |
| float3x4(Unity.Mathematics.int3x4) | Constructs a float3x4 matrix from a int3x4 matrix by componentwise conversion. |
| float3x4(Unity.Mathematics.uint3x4) | Constructs a float3x4 matrix from a uint3x4 matrix by componentwise conversion. |
Properties
Property | Description |
|---|---|
| this[] | Returns the float3 element at a specified index. |
Methods
Method | Description |
|---|---|
| Equals | Returns true if the float3x4 is equal to a given float3x4, false otherwise. |
| GetHashCode | Returns a hash code for the float3x4. |
| ToString | Returns a string representation of the float3x4. |
Operators
Operator | Description |
|---|---|
| operator + | Returns the result of a componentwise addition operation on a float value and a float3x4 matrix. |
| operator -- | Returns the result of a componentwise decrement operation on a float3x4 matrix. |
| operator / | Returns the result of a componentwise division operation on a float value and a float3x4 matrix. |
| operator == | Returns the result of a componentwise equality operation on a float value and a float3x4 matrix. |
| float3x4 | Explicitly converts a single bool value to a float3x4 matrix by converting it to float and assigning it to every component. |
| operator > | Returns the result of a componentwise greater than operation on a float value and a float3x4 matrix. |
| operator >= | Returns the result of a componentwise greater or equal operation on a float value and a float3x4 matrix. |
| operator ++ | Returns the result of a componentwise increment operation on a float3x4 matrix. |
| operator != | Returns the result of a componentwise not equal operation on a float value and a float3x4 matrix. |
| operator < | Returns the result of a componentwise less than operation on a float value and a float3x4 matrix. |
| operator <= | Returns the result of a componentwise less or equal operation on a float value and a float3x4 matrix. |
| operator % | Returns the result of a componentwise modulus operation on a float value and a float3x4 matrix. |
| operator * | Returns the result of a componentwise multiplication operation on a float value and a float3x4 matrix. |
| operator - | Returns the result of a componentwise subtraction operation on a float value and a float3x4 matrix. |