Struct float2x4
- Namespace
- Misaki.HighPerformance.Mathematics
- Assembly
- Misaki.HighPerformance.Mathematics.dll
[NumericType(typeof(float2), 4, 2, 4, "global::Misaki.HighPerformance.Mathematics.float", true, true, typeof(float), null)]
[NumericConvertable("{v}.{c}", new Type[] { typeof(int2x4), typeof(uint2x4), typeof(double2x4) })]
public struct float2x4 : IEquatable<float2x4>
- Implements
- Inherited Members
Constructors
float2x4(double2x4)
public float2x4(double2x4 v)
Parameters
float2x4(float2)
public float2x4(float2 value)
Parameters
valuefloat2
float2x4(float2, float2, float2, float2)
public float2x4(float2 c0, float2 c1, float2 c2, float2 c3)
Parameters
float2x4(int2x4)
public float2x4(int2x4 v)
Parameters
vint2x4
float2x4(uint2x4)
public float2x4(uint2x4 v)
Parameters
vuint2x4
float2x4(in ReadOnlySpan<float2>)
public float2x4(in ReadOnlySpan<float2> values)
Parameters
valuesReadOnlySpan<float2>
float2x4(in ReadOnlySpan<float>)
public float2x4(in ReadOnlySpan<float> values)
Parameters
valuesReadOnlySpan<float>
float2x4(float)
public float2x4(float value)
Parameters
valuefloat
float2x4(float, float, float, float, float, float, float, float)
public float2x4(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13)
Parameters
Fields
c0
public float2 c0
Field Value
c1
public float2 c1
Field Value
c2
public float2 c2
Field Value
c3
public float2 c3
Field Value
Properties
this[int]
public ref float2 this[int index] { get; }
Parameters
indexint
Property Value
zero
public static float2x4 zero { get; }
Property Value
Methods
Equals(float2x4)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(float2x4 other)
Parameters
otherfloat2x4An object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.
Operators
operator +(float2, float2x4)
public static float2x4 operator +(float2 lhs, float2x4 rhs)
Parameters
Returns
operator +(float2x4, float2)
public static float2x4 operator +(float2x4 lhs, float2 rhs)
Parameters
Returns
operator +(float2x4, float2x4)
public static float2x4 operator +(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator --(float2x4)
public static float2x4 operator --(float2x4 value)
Parameters
valuefloat2x4
Returns
operator /(float2, float2x4)
public static float2x4 operator /(float2 lhs, float2x4 rhs)
Parameters
Returns
operator /(float2x4, float2)
public static float2x4 operator /(float2x4 lhs, float2 rhs)
Parameters
Returns
operator /(float2x4, float2x4)
public static float2x4 operator /(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator ==(float2x4, float2x4)
public static bool2x4 operator ==(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator >(float2x4, float2x4)
public static bool2x4 operator >(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator >=(float2x4, float2x4)
public static bool2x4 operator >=(float2x4 lhs, float2x4 rhs)
Parameters
Returns
implicit operator float2x4(float2)
public static implicit operator float2x4(float2 value)
Parameters
valuefloat2
Returns
implicit operator float2x4(ReadOnlySpan<float2>)
public static implicit operator float2x4(ReadOnlySpan<float2> value)
Parameters
valueReadOnlySpan<float2>
Returns
operator ++(float2x4)
public static float2x4 operator ++(float2x4 value)
Parameters
valuefloat2x4
Returns
operator !=(float2x4, float2x4)
public static bool2x4 operator !=(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator <(float2x4, float2x4)
public static bool2x4 operator <(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator <=(float2x4, float2x4)
public static bool2x4 operator <=(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator %(float2, float2x4)
public static float2x4 operator %(float2 lhs, float2x4 rhs)
Parameters
Returns
operator %(float2x4, float2)
public static float2x4 operator %(float2x4 lhs, float2 rhs)
Parameters
Returns
operator %(float2x4, float2x4)
public static float2x4 operator %(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator *(float2, float2x4)
public static float2x4 operator *(float2 lhs, float2x4 rhs)
Parameters
Returns
operator *(float2x4, float2)
public static float2x4 operator *(float2x4 lhs, float2 rhs)
Parameters
Returns
operator *(float2x4, float2x4)
public static float2x4 operator *(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator -(float2, float2x4)
public static float2x4 operator -(float2 lhs, float2x4 rhs)
Parameters
Returns
operator -(float2x4, float2)
public static float2x4 operator -(float2x4 lhs, float2 rhs)
Parameters
Returns
operator -(float2x4, float2x4)
public static float2x4 operator -(float2x4 lhs, float2x4 rhs)
Parameters
Returns
operator -(float2x4)
public static float2x4 operator -(float2x4 value)
Parameters
valuefloat2x4
Returns
operator +(float2x4)
public static float2x4 operator +(float2x4 value)
Parameters
valuefloat2x4