4 writes to W
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (4)
1468result.X.W = -(b * gl_hk - c * fl_hj + d * fk_gj) * invDet; 1469result.Y.W = +(a * gl_hk - c * el_hi + d * ek_gi) * invDet; 1470result.Z.W = -(a * fl_hj - b * el_hi + d * ej_fi) * invDet; 1471result.W.W = +(a * fk_gj - b * ek_gi + c * ej_fi) * invDet;
30 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 (28)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.cs (1)
158set => W = Vector4.Create(value, W.W);
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (18)
640result.W = Vector4.MultiplyAddEstimate(Vector4.Create(p.W), s, Vector4.UnitW); 866result.W = Vector4.MultiplyAddEstimate(l, Vector4.Create(p.W), Vector4.Create(0, 0, 0, dot)); 1406float a = matrix.X.X, b = matrix.X.Y, c = matrix.X.Z, d = matrix.X.W; 1407float e = matrix.Y.X, f = matrix.Y.Y, g = matrix.Y.Z, h = matrix.Y.W; 1408float i = matrix.Z.X, j = matrix.Z.Y, k = matrix.Z.Z, l = matrix.Z.W; 1409float m = matrix.W.X, n = matrix.W.Y, o = matrix.W.Z, p = matrix.W.W; 1528value.X.W 1534value.Y.W 1540value.Z.W 1546value.W.W 1599result.W = Vector4.Create(matrix.X.W, matrix.Y.W, matrix.Z.W, matrix.W.W); 1651float a = X.X, b = X.Y, c = X.Z, d = X.W; 1652float e = Y.X, f = Y.Y, g = Y.Z, h = Y.W; 1653float i = Z.X, j = Z.Y, k = Z.Z, l = Z.W; 1654float m = W.X, n = W.Y, o = W.Z, p = W.W;
src\libraries\System.Private.CoreLib\src\System\Numerics\Plane.cs (2)
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> 52/// <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> 1023result = MultiplyAddEstimate(matrix.W, Create(vector.W), result); 1083/// <remarks>Two vectors are equal if their <see cref="X" />, <see cref="Y" />, <see cref="Z" />, and <see cref="W" /> elements are equal.</remarks> 1095public override readonly int GetHashCode() => HashCode.Combine(X, Y, Z, W); 1134return $"<{X.ToString(format, formatProvider)}{separator} {Y.ToString(format, formatProvider)}{separator} {Z.ToString(format, formatProvider)}{separator} {W.ToString(format, formatProvider)}>";