Struct float4x4
Syntax
[Serializable]
public struct float4x4 : IEquatable<float4x4>, IFormattable
Constructors
float4x4(Boolean)
Constructs a float4x4 matrix from a single bool value by converting it to float and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
float4x4(Double)
Constructs a float4x4 matrix from a single double value by converting it to float and assigning it to every component.
Declaration
public float4x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
float4x4(Int32)
Constructs a float4x4 matrix from a single int value by converting it to float and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
float4x4(Single)
Constructs a float4x4 matrix from a single float value by assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Single |
v |
|
float4x4(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)
Constructs a float4x4 matrix from 16 float values given in row-major order.
Declaration
public float4x4(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
Parameters
Type |
Name |
Description |
System.Single |
m00 |
|
System.Single |
m01 |
|
System.Single |
m02 |
|
System.Single |
m03 |
|
System.Single |
m10 |
|
System.Single |
m11 |
|
System.Single |
m12 |
|
System.Single |
m13 |
|
System.Single |
m20 |
|
System.Single |
m21 |
|
System.Single |
m22 |
|
System.Single |
m23 |
|
System.Single |
m30 |
|
System.Single |
m31 |
|
System.Single |
m32 |
|
System.Single |
m33 |
|
float4x4(UInt32)
Constructs a float4x4 matrix from a single uint value by converting it to float and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
float4x4(bool4x4)
Constructs a float4x4 matrix from a bool4x4 matrix by componentwise conversion.
Declaration
public float4x4(bool4x4 v)
Parameters
float4x4(double4x4)
Constructs a float4x4 matrix from a double4x4 matrix by componentwise conversion.
Declaration
public float4x4(double4x4 v)
Parameters
float4x4(float3x3, float3)
Constructs a float4x4 from a float3x3 rotation matrix and a float3 translation vector.
Declaration
public float4x4(float3x3 rotation, float3 translation)
Parameters
float4x4(float4, float4, float4, float4)
Constructs a float4x4 matrix from four float4 vectors.
Declaration
public float4x4(float4 c0, float4 c1, float4 c2, float4 c3)
Parameters
float4x4(int4x4)
Constructs a float4x4 matrix from a int4x4 matrix by componentwise conversion.
Declaration
public float4x4(int4x4 v)
Parameters
Type |
Name |
Description |
int4x4 |
v |
|
float4x4(quaternion, float3)
Constructs a float4x4 from a quaternion and a float3 translation vector.
Declaration
public float4x4(quaternion rotation, float3 translation)
Parameters
Constructs a float4x4 from a RigidTransform.
Declaration
public float4x4(RigidTransform transform)
Parameters
float4x4(uint4x4)
Constructs a float4x4 matrix from a uint4x4 matrix by componentwise conversion.
Declaration
public float4x4(uint4x4 v)
Parameters
Fields
c0
Declaration
Field Value
c1
Declaration
Field Value
c2
Declaration
Field Value
c3
Declaration
Field Value
identity
float4x4 identity transform.
Declaration
public static readonly float4x4 identity
Field Value
zero
Declaration
public static readonly float4x4 zero
Field Value
Properties
Item[Int32]
Returns the float4 element at a specified index.
Declaration
public float4 this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Methods
AxisAngle(float3, Single)
Returns a float4x4 matrix representing a rotation around a unit axis by an angle in radians.
The rotation direction is clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 AxisAngle(float3 axis, float angle)
Parameters
Type |
Name |
Description |
float3 |
axis |
|
System.Single |
angle |
|
Returns
Equals(Object)
Returns true if the float4x4 is equal to a given float4x4, false otherwise.
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(float4x4)
Returns true if the float4x4 is equal to a given float4x4, false otherwise.
Declaration
public bool Equals(float4x4 rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Euler(Single, Single, Single, math.RotationOrder)
Returns a float4x4 rotation matrix constructed by first performing 3 rotations around the principal axes in a given order.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
When the rotation order is known at compile time, it is recommended for performance reasons to use specific
Euler rotation constructors such as EulerZXY(...).
Declaration
public static float4x4 Euler(float x, float y, float z, math.RotationOrder order = math.RotationOrder.ZXY)
Parameters
Type |
Name |
Description |
System.Single |
x |
The rotation angle around the x-axis in radians.
|
System.Single |
y |
The rotation angle around the y-axis in radians.
|
System.Single |
z |
The rotation angle around the z-axis in radians.
|
math.RotationOrder |
order |
The order in which the rotations are applied.
|
Returns
Euler(float3, math.RotationOrder)
Declaration
public static float4x4 Euler(float3 xyz, math.RotationOrder order = math.RotationOrder.ZXY)
Parameters
Returns
EulerXYZ(Single, Single, Single)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the x-axis, then the y-axis and finally the z-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerXYZ(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
The rotation angle around the x-axis in radians.
|
System.Single |
y |
The rotation angle around the y-axis in radians.
|
System.Single |
z |
The rotation angle around the z-axis in radians.
|
Returns
EulerXYZ(float3)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the x-axis, then the y-axis and finally the z-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerXYZ(float3 xyz)
Parameters
Type |
Name |
Description |
float3 |
xyz |
A float3 vector containing the rotation angles around the x-, y- and z-axis measures in radians.
|
Returns
EulerXZY(Single, Single, Single)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the x-axis, then the z-axis and finally the y-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerXZY(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
The rotation angle around the x-axis in radians.
|
System.Single |
y |
The rotation angle around the y-axis in radians.
|
System.Single |
z |
The rotation angle around the z-axis in radians.
|
Returns
EulerXZY(float3)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the x-axis, then the z-axis and finally the y-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerXZY(float3 xyz)
Parameters
Type |
Name |
Description |
float3 |
xyz |
A float3 vector containing the rotation angles around the x-, y- and z-axis measures in radians.
|
Returns
EulerYXZ(Single, Single, Single)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the y-axis, then the x-axis and finally the z-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerYXZ(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
The rotation angle around the x-axis in radians.
|
System.Single |
y |
The rotation angle around the y-axis in radians.
|
System.Single |
z |
The rotation angle around the z-axis in radians.
|
Returns
EulerYXZ(float3)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the y-axis, then the x-axis and finally the z-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerYXZ(float3 xyz)
Parameters
Type |
Name |
Description |
float3 |
xyz |
A float3 vector containing the rotation angles around the x-, y- and z-axis measures in radians.
|
Returns
EulerYZX(Single, Single, Single)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the y-axis, then the z-axis and finally the x-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerYZX(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
The rotation angle around the x-axis in radians.
|
System.Single |
y |
The rotation angle around the y-axis in radians.
|
System.Single |
z |
The rotation angle around the z-axis in radians.
|
Returns
EulerYZX(float3)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the y-axis, then the z-axis and finally the x-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerYZX(float3 xyz)
Parameters
Type |
Name |
Description |
float3 |
xyz |
A float3 vector containing the rotation angles around the x-, y- and z-axis measures in radians.
|
Returns
EulerZXY(Single, Single, Single)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the z-axis, then the x-axis and finally the y-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
This is the default order rotation order in Unity.
Declaration
public static float4x4 EulerZXY(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
The rotation angle around the x-axis in radians.
|
System.Single |
y |
The rotation angle around the y-axis in radians.
|
System.Single |
z |
The rotation angle around the z-axis in radians.
|
Returns
EulerZXY(float3)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the z-axis, then the x-axis and finally the y-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
This is the default order rotation order in Unity.
Declaration
public static float4x4 EulerZXY(float3 xyz)
Parameters
Type |
Name |
Description |
float3 |
xyz |
A float3 vector containing the rotation angles around the x-, y- and z-axis measures in radians.
|
Returns
EulerZYX(Single, Single, Single)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the z-axis, then the y-axis and finally the x-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerZYX(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
The rotation angle around the x-axis in radians.
|
System.Single |
y |
The rotation angle around the y-axis in radians.
|
System.Single |
z |
The rotation angle around the z-axis in radians.
|
Returns
EulerZYX(float3)
Returns a float4x4 rotation matrix constructed by first performing a rotation around the z-axis, then the y-axis and finally the x-axis.
All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float4x4 EulerZYX(float3 xyz)
Parameters
Type |
Name |
Description |
float3 |
xyz |
A float3 vector containing the rotation angles around the x-, y- and z-axis measures in radians.
|
Returns
GetHashCode()
Returns a hash code for the float4x4.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
LookAt(float3, float3, float3)
Returns a float4x4 view matrix given an eye position, a target point and a unit length up vector.
The up vector is assumed to be unit length, the eye and target points are assumed to be distinct and
the vector between them is assumes to be collinear with the up vector.
If these assumptions are not met use float4x4.LookRotationSafe instead.
Declaration
public static float4x4 LookAt(float3 eye, float3 target, float3 up)
Parameters
Returns
Ortho(Single, Single, Single, Single)
Returns a float4x4 centered orthographic projection matrix.
Declaration
public static float4x4 Ortho(float width, float height, float near, float far)
Parameters
Type |
Name |
Description |
System.Single |
width |
The width of the view volume.
|
System.Single |
height |
The height of the view volume.
|
System.Single |
near |
The distance to the near plane.
|
System.Single |
far |
The distance to the far plane.
|
Returns
OrthoOffCenter(Single, Single, Single, Single, Single, Single)
Returns a float4x4 off-center orthographic projection matrix.
Declaration
public static float4x4 OrthoOffCenter(float left, float right, float bottom, float top, float near, float far)
Parameters
Type |
Name |
Description |
System.Single |
left |
The minimum x-coordinate of the view volume.
|
System.Single |
right |
The maximum x-coordinate of the view volume.
|
System.Single |
bottom |
The minimum y-coordinate of the view volume.
|
System.Single |
top |
The minimum y-coordinate of the view volume.
|
System.Single |
near |
The distance to the near plane.
|
System.Single |
far |
The distance to the far plane.
|
Returns
PerspectiveFov(Single, Single, Single, Single)
Returns a float4x4 perspective projection matrix based on field of view.
Declaration
public static float4x4 PerspectiveFov(float verticalFov, float aspect, float near, float far)
Parameters
Type |
Name |
Description |
System.Single |
verticalFov |
Vertical Field of view in radians.
|
System.Single |
aspect |
X:Y aspect ratio.
|
System.Single |
near |
Distance to near plane. Must be greater than zero.
|
System.Single |
far |
Distance to far plane. Must be greater than zero.
|
Returns
PerspectiveOffCenter(Single, Single, Single, Single, Single, Single)
Returns a float4x4 off-center perspective projection matrix.
Declaration
public static float4x4 PerspectiveOffCenter(float left, float right, float bottom, float top, float near, float far)
Parameters
Type |
Name |
Description |
System.Single |
left |
The x-coordinate of the left side of the clipping frustum at the near plane.
|
System.Single |
right |
The x-coordinate of the right side of the clipping frustum at the near plane.
|
System.Single |
bottom |
The y-coordinate of the bottom side of the clipping frustum at the near plane.
|
System.Single |
top |
The y-coordinate of the top side of the clipping frustum at the near plane.
|
System.Single |
near |
Distance to the near plane. Must be greater than zero.
|
System.Single |
far |
Distance to the far plane. Must be greater than zero.
|
Returns
RotateX(Single)
Returns a float4x4 matrix that rotates around the x-axis by a given number of radians.
Declaration
public static float4x4 RotateX(float angle)
Parameters
Type |
Name |
Description |
System.Single |
angle |
The clockwise rotation angle when looking along the x-axis towards the origin in radians.
|
Returns
RotateY(Single)
Returns a float4x4 matrix that rotates around the y-axis by a given number of radians.
Declaration
public static float4x4 RotateY(float angle)
Parameters
Type |
Name |
Description |
System.Single |
angle |
The clockwise rotation angle when looking along the y-axis towards the origin in radians.
|
Returns
RotateZ(Single)
Returns a float4x4 matrix that rotates around the z-axis by a given number of radians.
Declaration
public static float4x4 RotateZ(float angle)
Parameters
Type |
Name |
Description |
System.Single |
angle |
The clockwise rotation angle when looking along the z-axis towards the origin in radians.
|
Returns
Scale(Single)
Returns a float4x4 scale matrix given 3 axis scales.
Declaration
public static float4x4 Scale(float s)
Parameters
Type |
Name |
Description |
System.Single |
s |
|
Returns
Scale(Single, Single, Single)
Returns a float4x4 scale matrix given a float3 vector containing the 3 axis scales.
Declaration
public static float4x4 Scale(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
z |
|
Returns
Scale(float3)
Returns a float4x4 scale matrix given a float3 vector containing the 3 axis scales.
Declaration
public static float4x4 Scale(float3 scales)
Parameters
Type |
Name |
Description |
float3 |
scales |
|
Returns
ToString()
Returns a string representation of the float4x4.
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Returns a string representation of the float4x4 using a specified format and culture-specific format information.
Declaration
public string ToString(string format, IFormatProvider formatProvider)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.IFormatProvider |
formatProvider |
|
Returns
Type |
Description |
System.String |
|
Translate(float3)
Returns a float4x4 translation matrix given a float3 translation vector.
Declaration
public static float4x4 Translate(float3 vector)
Parameters
Type |
Name |
Description |
float3 |
vector |
|
Returns
TRS(float3, quaternion, float3)
Returns a float4x4 matrix representing a combined scale-, rotation- and translation transform.
Equivalent to mul(translationTransform, mul(rotationTransform, scaleTransform)).
Declaration
public static float4x4 TRS(float3 translation, quaternion rotation, float3 scale)
Parameters
Returns
Operators
Addition(Single, float4x4)
Returns the result of a componentwise addition operation on a float value and a float4x4 matrix.
Declaration
public static float4x4 operator +(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
Addition(float4x4, Single)
Returns the result of a componentwise addition operation on a float4x4 matrix and a float value.
Declaration
public static float4x4 operator +(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
Addition(float4x4, float4x4)
Returns the result of a componentwise addition operation on two float4x4 matrices.
Declaration
public static float4x4 operator +(float4x4 lhs, float4x4 rhs)
Parameters
Returns
Decrement(float4x4)
Returns the result of a componentwise decrement operation on a float4x4 matrix.
Declaration
public static float4x4 operator --(float4x4 val)
Parameters
Returns
Division(Single, float4x4)
Returns the result of a componentwise division operation on a float value and a float4x4 matrix.
Declaration
public static float4x4 operator /(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
Division(float4x4, Single)
Returns the result of a componentwise division operation on a float4x4 matrix and a float value.
Declaration
public static float4x4 operator /(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
Division(float4x4, float4x4)
Returns the result of a componentwise division operation on two float4x4 matrices.
Declaration
public static float4x4 operator /(float4x4 lhs, float4x4 rhs)
Parameters
Returns
Equality(Single, float4x4)
Returns the result of a componentwise equality operation on a float value and a float4x4 matrix.
Declaration
public static bool4x4 operator ==(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
Equality(float4x4, Single)
Returns the result of a componentwise equality operation on a float4x4 matrix and a float value.
Declaration
public static bool4x4 operator ==(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
Equality(float4x4, float4x4)
Returns the result of a componentwise equality operation on two float4x4 matrices.
Declaration
public static bool4x4 operator ==(float4x4 lhs, float4x4 rhs)
Parameters
Returns
Explicit(Boolean to float4x4)
Explicitly converts a single bool value to a float4x4 matrix by converting it to float and assigning it to every component.
Declaration
public static explicit operator float4x4(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
Explicit(Double to float4x4)
Explicitly converts a single double value to a float4x4 matrix by converting it to float and assigning it to every component.
Declaration
public static explicit operator float4x4(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
Explicit(bool4x4 to float4x4)
Explicitly converts a bool4x4 matrix to a float4x4 matrix by componentwise conversion.
Declaration
public static explicit operator float4x4(bool4x4 v)
Parameters
Returns
Explicit(double4x4 to float4x4)
Explicitly converts a double4x4 matrix to a float4x4 matrix by componentwise conversion.
Declaration
public static explicit operator float4x4(double4x4 v)
Parameters
Returns
GreaterThan(Single, float4x4)
Returns the result of a componentwise greater than operation on a float value and a float4x4 matrix.
Declaration
public static bool4x4 operator>(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
GreaterThan(float4x4, Single)
Returns the result of a componentwise greater than operation on a float4x4 matrix and a float value.
Declaration
public static bool4x4 operator>(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
GreaterThan(float4x4, float4x4)
Returns the result of a componentwise greater than operation on two float4x4 matrices.
Declaration
public static bool4x4 operator>(float4x4 lhs, float4x4 rhs)
Parameters
Returns
GreaterThanOrEqual(Single, float4x4)
Returns the result of a componentwise greater or equal operation on a float value and a float4x4 matrix.
Declaration
public static bool4x4 operator >=(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
GreaterThanOrEqual(float4x4, Single)
Returns the result of a componentwise greater or equal operation on a float4x4 matrix and a float value.
Declaration
public static bool4x4 operator >=(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
GreaterThanOrEqual(float4x4, float4x4)
Returns the result of a componentwise greater or equal operation on two float4x4 matrices.
Declaration
public static bool4x4 operator >=(float4x4 lhs, float4x4 rhs)
Parameters
Returns
Implicit(Matrix4x4 to float4x4)
Declaration
public static implicit operator float4x4(Matrix4x4 m)
Parameters
Type |
Name |
Description |
Matrix4x4 |
m |
|
Returns
Implicit(Int32 to float4x4)
Implicitly converts a single int value to a float4x4 matrix by converting it to float and assigning it to every component.
Declaration
public static implicit operator float4x4(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
Implicit(Single to float4x4)
Implicitly converts a single float value to a float4x4 matrix by assigning it to every component.
Declaration
public static implicit operator float4x4(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
Implicit(UInt32 to float4x4)
Implicitly converts a single uint value to a float4x4 matrix by converting it to float and assigning it to every component.
Declaration
public static implicit operator float4x4(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
Implicit(float4x4 to Matrix4x4)
Declaration
public static implicit operator Matrix4x4(float4x4 m)
Parameters
Returns
Type |
Description |
Matrix4x4 |
|
Implicit(int4x4 to float4x4)
Implicitly converts a int4x4 matrix to a float4x4 matrix by componentwise conversion.
Declaration
public static implicit operator float4x4(int4x4 v)
Parameters
Type |
Name |
Description |
int4x4 |
v |
|
Returns
Implicit(uint4x4 to float4x4)
Implicitly converts a uint4x4 matrix to a float4x4 matrix by componentwise conversion.
Declaration
public static implicit operator float4x4(uint4x4 v)
Parameters
Returns
Increment(float4x4)
Returns the result of a componentwise increment operation on a float4x4 matrix.
Declaration
public static float4x4 operator ++(float4x4 val)
Parameters
Returns
Inequality(Single, float4x4)
Returns the result of a componentwise not equal operation on a float value and a float4x4 matrix.
Declaration
public static bool4x4 operator !=(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
Inequality(float4x4, Single)
Returns the result of a componentwise not equal operation on a float4x4 matrix and a float value.
Declaration
public static bool4x4 operator !=(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
Inequality(float4x4, float4x4)
Returns the result of a componentwise not equal operation on two float4x4 matrices.
Declaration
public static bool4x4 operator !=(float4x4 lhs, float4x4 rhs)
Parameters
Returns
LessThan(Single, float4x4)
Returns the result of a componentwise less than operation on a float value and a float4x4 matrix.
Declaration
public static bool4x4 operator <(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
LessThan(float4x4, Single)
Returns the result of a componentwise less than operation on a float4x4 matrix and a float value.
Declaration
public static bool4x4 operator <(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
LessThan(float4x4, float4x4)
Returns the result of a componentwise less than operation on two float4x4 matrices.
Declaration
public static bool4x4 operator <(float4x4 lhs, float4x4 rhs)
Parameters
Returns
LessThanOrEqual(Single, float4x4)
Returns the result of a componentwise less or equal operation on a float value and a float4x4 matrix.
Declaration
public static bool4x4 operator <=(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
LessThanOrEqual(float4x4, Single)
Returns the result of a componentwise less or equal operation on a float4x4 matrix and a float value.
Declaration
public static bool4x4 operator <=(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
LessThanOrEqual(float4x4, float4x4)
Returns the result of a componentwise less or equal operation on two float4x4 matrices.
Declaration
public static bool4x4 operator <=(float4x4 lhs, float4x4 rhs)
Parameters
Returns
Modulus(Single, float4x4)
Returns the result of a componentwise modulus operation on a float value and a float4x4 matrix.
Declaration
public static float4x4 operator %(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
Modulus(float4x4, Single)
Returns the result of a componentwise modulus operation on a float4x4 matrix and a float value.
Declaration
public static float4x4 operator %(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
Modulus(float4x4, float4x4)
Returns the result of a componentwise modulus operation on two float4x4 matrices.
Declaration
public static float4x4 operator %(float4x4 lhs, float4x4 rhs)
Parameters
Returns
Multiply(Single, float4x4)
Returns the result of a componentwise multiplication operation on a float value and a float4x4 matrix.
Declaration
public static float4x4 operator *(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
Multiply(float4x4, Single)
Returns the result of a componentwise multiplication operation on a float4x4 matrix and a float value.
Declaration
public static float4x4 operator *(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
Multiply(float4x4, float4x4)
Returns the result of a componentwise multiplication operation on two float4x4 matrices.
Declaration
public static float4x4 operator *(float4x4 lhs, float4x4 rhs)
Parameters
Returns
Subtraction(Single, float4x4)
Returns the result of a componentwise subtraction operation on a float value and a float4x4 matrix.
Declaration
public static float4x4 operator -(float lhs, float4x4 rhs)
Parameters
Type |
Name |
Description |
System.Single |
lhs |
|
float4x4 |
rhs |
|
Returns
Subtraction(float4x4, Single)
Returns the result of a componentwise subtraction operation on a float4x4 matrix and a float value.
Declaration
public static float4x4 operator -(float4x4 lhs, float rhs)
Parameters
Type |
Name |
Description |
float4x4 |
lhs |
|
System.Single |
rhs |
|
Returns
Subtraction(float4x4, float4x4)
Returns the result of a componentwise subtraction operation on two float4x4 matrices.
Declaration
public static float4x4 operator -(float4x4 lhs, float4x4 rhs)
Parameters
Returns
UnaryNegation(float4x4)
Returns the result of a componentwise unary minus operation on a float4x4 matrix.
Declaration
public static float4x4 operator -(float4x4 val)
Parameters
Returns
UnaryPlus(float4x4)
Returns the result of a componentwise unary plus operation on a float4x4 matrix.
Declaration
public static float4x4 operator +(float4x4 val)
Parameters
Returns