4 writes to W
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (4)
1568
result.X.
W
= -(b * gl_hk - c * fl_hj + d * fk_gj) * invDet;
1569
result.Y.
W
= +(a * gl_hk - c * el_hi + d * ek_gi) * invDet;
1570
result.Z.
W
= -(a * fl_hj - b * el_hi + d * ej_fi) * invDet;
1571
result.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)
60
height = vector.
W
;
System.Private.CoreLib (27)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (19)
127
W = Vector4.Create(value, W.
W
);
740
result.W = Vector4.MultiplyAddEstimate(Vector4.Create(p.
W
), s, Vector4.UnitW);
966
result.W = Vector4.MultiplyAddEstimate(l, Vector4.Create(p.
W
), Vector4.Create(0, 0, 0, dot));
1506
float a = matrix.X.X, b = matrix.X.Y, c = matrix.X.Z, d = matrix.X.
W
;
1507
float e = matrix.Y.X, f = matrix.Y.Y, g = matrix.Y.Z, h = matrix.Y.
W
;
1508
float i = matrix.Z.X, j = matrix.Z.Y, k = matrix.Z.Z, l = matrix.Z.
W
;
1509
float m = matrix.W.X, n = matrix.W.Y, o = matrix.W.Z, p = matrix.W.
W
;
1628
value.X.
W
1634
value.Y.
W
1640
value.Z.
W
1646
value.W.
W
1699
result.W = Vector4.Create(matrix.X.
W
, matrix.Y.
W
, matrix.Z.
W
, matrix.W.
W
);
1751
float a = X.X, b = X.Y, c = X.Z, d = X.
W
;
1752
float e = Y.X, f = Y.Y, g = Y.Z, h = Y.
W
;
1753
float i = Z.X, j = Z.Y, k = Z.Z, l = Z.
W
;
1754
float 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>
1029
result = 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>
1101
public override readonly int GetHashCode() => HashCode.Combine(X, Y, Z,
W
);
1140
return $"<{X.ToString(format, formatProvider)}{separator} {Y.ToString(format, formatProvider)}{separator} {Z.ToString(format, formatProvider)}{separator} {
W
.ToString(format, formatProvider)}>";