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