half2
struct in Unity.Mathematics · Unity.Mathematics
39 of 39 of Unity's members
Constructors 1
half2(half x, half y)half2(half2 xy)half2(half v)half2(float v)half2(float2 v)half2(double v)half2(double2 v)Fields 3
half xhalf ystatic readonly half2 zeroProperties 29
half this[int index] { get; set; }readonly half2 xx { get; }readonly half3 xxx { get; }readonly half4 xxxx { get; }readonly half4 xxxy { get; }readonly half3 xxy { get; }readonly half4 xxyx { get; }readonly half4 xxyy { get; }half2 xy { get; set; }readonly half3 xyx { get; }readonly half4 xyxx { get; }readonly half4 xyxy { get; }readonly half3 xyy { get; }readonly half4 xyyx { get; }readonly half4 xyyy { get; }half2 yx { get; set; }readonly half3 yxx { get; }readonly half4 yxxx { get; }readonly half4 yxxy { get; }readonly half3 yxy { get; }readonly half4 yxyx { get; }readonly half4 yxyy { get; }readonly half2 yy { get; }readonly half3 yyx { get; }readonly half4 yyxx { get; }readonly half4 yyxy { get; }readonly half3 yyy { get; }readonly half4 yyyx { get; }readonly half4 yyyy { get; }Methods 3
readonly bool Equals(half2 rhs)readonly bool Equals(object? o)readonly int GetHashCode()readonly string ToString()readonly string ToString(string? format, IFormatProvider? formatProvider)Operators 4
static explicit operator half2(float v)static explicit operator half2(float2 v)static explicit operator half2(double v)static explicit operator half2(double2 v)static implicit operator half2(half v)static bool2 operator !=(half2 lhs, half2 rhs)static bool2 operator !=(half2 lhs, half rhs)static bool2 operator !=(half lhs, half2 rhs)static bool2 operator ==(half2 lhs, half2 rhs)static bool2 operator ==(half2 lhs, half rhs)static bool2 operator ==(half lhs, half2 rhs)