4 writes to W
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (4)
1568result.X.W = -(b * gl_hk - c * fl_hj + d * fk_gj) * invDet; 1569result.Y.W = +(a * gl_hk - c * el_hi + d * ek_gi) * invDet; 1570result.Z.W = -(a * fl_hj - b * el_hi + d * ej_fi) * invDet; 1571result.W.W = +(a * fk_gj - b * ek_gi + c * ej_fi) * invDet;
29 references to W
Microsoft.Maui.Graphics (1)
Color.cs (1)
82 Alpha = color.W.Clamp(0, 1);
System.Drawing.Primitives (1)
System\Drawing\RectangleF.cs (1)
60height = vector.W;
System.Private.CoreLib (27)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (19)
127W = Vector4.Create(value, W.W); 740result.W = Vector4.MultiplyAddEstimate(Vector4.Create(p.W), s, Vector4.UnitW); 966result.W = Vector4.MultiplyAddEstimate(l, Vector4.Create(p.W), Vector4.Create(0, 0, 0, dot)); 1506float a = matrix.X.X, b = matrix.X.Y, c = matrix.X.Z, d = matrix.X.W; 1507float e = matrix.Y.X, f = matrix.Y.Y, g = matrix.Y.Z, h = matrix.Y.W; 1508float i = matrix.Z.X, j = matrix.Z.Y, k = matrix.Z.Z, l = matrix.Z.W; 1509float m = matrix.W.X, n = matrix.W.Y, o = matrix.W.Z, p = matrix.W.W; 1628value.X.W 1634value.Y.W 1640value.Z.W 1646value.W.W 1699result.W = Vector4.Create(matrix.X.W, matrix.Y.W, matrix.Z.W, matrix.W.W); 1751float a = X.X, b = X.Y, c = X.Z, d = X.W; 1752float e = Y.X, f = Y.Y, g = Y.Z, h = Y.W; 1753float i = Z.X, j = Z.Y, k = Z.Z, l = Z.W; 1754float m = W.X, n = W.Y, o = W.Z, p = W.W;
src\libraries\System.Private.CoreLib\src\System\Numerics\Plane.cs (1)
44/// <param name="value">A vector whose first three elements describe the normal vector, and whose <see cref="Vector4.W" /> defines the distance along that normal from the origin.</param>
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (7)
82/// <param name="w">The value to assign to the <see cref="W" /> field.</param> 478/// <param name="w">The value to assign to the <see cref="W" /> field.</param> 926/// <param name="wIndex">The index used to select a value from <paramref name="vector" /> to be used as the value of <see cref="W" /> in the result</param> 1029result = MultiplyAddEstimate(matrix.W, Create(vector.W), result); 1089/// <remarks>Two vectors are equal if their <see cref="X" />, <see cref="Y" />, <see cref="Z" />, and <see cref="W" /> elements are equal.</remarks> 1101public override readonly int GetHashCode() => HashCode.Combine(X, Y, Z, W); 1140return $"<{X.ToString(format, formatProvider)}{separator} {Y.ToString(format, formatProvider)}{separator} {Z.ToString(format, formatProvider)}{separator} {W.ToString(format, formatProvider)}>";