30 references to X
Microsoft.Maui.Essentials (7)
Accelerometer\Accelerometer.shared.cs (3)
192
$"{nameof(Acceleration.
X
)}: {Acceleration.
X
}, " +
282
var x = acceleration.
X
* gravity;
Gyroscope\Gyroscope.shared.cs (2)
184
$"{nameof(AngularVelocity.
X
)}: {AngularVelocity.
X
}, " +
Magnetometer\Magnetometer.shared.cs (2)
188
$"{nameof(MagneticField.
X
)}: {MagneticField.
X
}, " +
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (7)
713
float x = float.MultiplyAddEstimate(centerPoint.
X
, 1 - c, -centerPoint.Z * s);
714
float z = float.MultiplyAddEstimate(centerPoint.Z, 1 - c, +centerPoint.
X
* s);
756
float x = float.MultiplyAddEstimate(centerPoint.
X
, 1 - c, +centerPoint.Y * s);
757
float y = float.MultiplyAddEstimate(centerPoint.Y, 1 - c, -centerPoint.
X
* s);
805
result.X = Vector4.Create(scales.
X
, 0, 0, 0);
818
result.X = Vector4.Create(scales.
X
, 0, 0, 0);
1047
fAbsX = float.Abs(vectorBasis[a]->
X
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (2)
286
(float sr, float cr) = (sin.
X
, cos.
X
);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (13)
67
/// <param name="x">The value to assign to the <see cref="
X
" /> field.</param>
428
/// <param name="x">The value to assign to the <see cref="
X
" /> field.</param>
449
/// <summary>Creates a vector with <see cref="
X
" /> initialized to the specified value and the remaining elements initialized to zero.</summary>
450
/// <param name="x">The value to assign to the <see cref="
X
" /> field.</param>
451
/// <returns>A new <see cref="Vector3" /> with <see cref="
X
" /> initialized <paramref name="x" /> and the remaining elements initialized to zero.</returns>
455
/// <summary>Creates a vector with <see cref="
X
" /> initialized to the specified value and the remaining elements left uninitialized.</summary>
456
/// <param name="x">The value to assign to the <see cref="
X
" /> field.</param>
457
/// <returns>A new <see cref="Vector3" /> with <see cref="
X
" /> initialized <paramref name="x" /> and the remaining elements left uninitialized.</returns>
891
/// <param name="xIndex">The index used to select a value from <paramref name="vector" /> to be used as the value of <see cref="
X
" /> in the result.</param>
955
Vector4 result = matrix.X * normal.
X
;
1056
/// <remarks>Two vectors are equal if their <see cref="
X
" />, <see cref="Y" />, and <see cref="Z" /> elements are equal.</remarks>
1062
public override readonly int GetHashCode() => HashCode.Combine(
X
, Y, Z);
1101
return $"<{
X
.ToString(format, formatProvider)}{separator} {Y.ToString(format, formatProvider)}{separator} {Z.ToString(format, formatProvider)}>";
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (1)
997
Vector4 result = matrix.X * position.
X
;