167 references to Impl
System.Private.CoreLib (167)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.cs (49)
220ref readonly Impl impl = ref AsROImpl(); 266ref Impl impl = ref AsImpl(); 338ref readonly Impl impl = ref AsROImpl(); 384ref Impl impl = ref AsImpl(); 581=> Impl.CreateBillboard(in objectPosition, in cameraPosition, in cameraUpVector, in cameraForwardVector).AsM4x4(); 590=> Impl.CreateBillboardLeftHanded(in objectPosition, in cameraPosition, in cameraUpVector, in cameraForwardVector).AsM4x4(); 600=> Impl.CreateConstrainedBillboard(in objectPosition, in cameraPosition, in rotateAxis, in cameraForwardVector, in objectForwardVector).AsM4x4(); 610=> Impl.CreateConstrainedBillboardLeftHanded(in objectPosition, in cameraPosition, in rotateAxis, in cameraForwardVector, in objectForwardVector).AsM4x4(); 617=> Impl.CreateFromAxisAngle(in axis, angle).AsM4x4(); 623=> Impl.CreateFromQuaternion(in quaternion).AsM4x4(); 631=> Impl.CreateFromYawPitchRoll(yaw, pitch, roll).AsM4x4(); 641return Impl.CreateLookTo(in cameraPosition, in cameraDirection, in cameraUpVector).AsM4x4(); 652return Impl.CreateLookToLeftHanded(in cameraPosition, in cameraDirection, in cameraUpVector).AsM4x4(); 661=> Impl.CreateLookTo(in cameraPosition, in cameraDirection, in cameraUpVector).AsM4x4(); 670return Impl.CreateLookToLeftHanded(in cameraPosition, in cameraDirection, in cameraUpVector).AsM4x4(); 680=> Impl.CreateOrthographic(width, height, zNearPlane, zFarPlane).AsM4x4(); 689=> Impl.CreateOrthographicLeftHanded(width, height, zNearPlane, zFarPlane).AsM4x4(); 700=> Impl.CreateOrthographicOffCenter(left, right, bottom, top, zNearPlane, zFarPlane).AsM4x4(); 711=> Impl.CreateOrthographicOffCenterLeftHanded(left, right, bottom, top, zNearPlane, zFarPlane).AsM4x4(); 725=> Impl.CreatePerspective(width, height, nearPlaneDistance, farPlaneDistance).AsM4x4(); 739=> Impl.CreatePerspectiveLeftHanded(width, height, nearPlaneDistance, farPlaneDistance).AsM4x4(); 756=> Impl.CreatePerspectiveFieldOfView(fieldOfView, aspectRatio, nearPlaneDistance, farPlaneDistance).AsM4x4(); 773=> Impl.CreatePerspectiveFieldOfViewLeftHanded(fieldOfView, aspectRatio, nearPlaneDistance, farPlaneDistance).AsM4x4(); 789=> Impl.CreatePerspectiveOffCenter(left, right, bottom, top, nearPlaneDistance, farPlaneDistance).AsM4x4(); 805=> Impl.CreatePerspectiveOffCenterLeftHanded(left, right, bottom, top, nearPlaneDistance, farPlaneDistance).AsM4x4(); 811=> Impl.CreateReflection(in value).AsM4x4(); 817=> Impl.CreateRotationX(radians).AsM4x4(); 824=> Impl.CreateRotationX(radians, in centerPoint).AsM4x4(); 830=> Impl.CreateRotationY(radians).AsM4x4(); 837=> Impl.CreateRotationY(radians, in centerPoint).AsM4x4(); 843=> Impl.CreateRotationZ(radians).AsM4x4(); 850=> Impl.CreateRotationZ(radians, in centerPoint).AsM4x4(); 858=> Impl.CreateScale(xScale, yScale, zScale).AsM4x4(); 867=> Impl.CreateScale(xScale, yScale, zScale, in centerPoint).AsM4x4(); 873=> Impl.CreateScale(in scales).AsM4x4(); 880=> Impl.CreateScale(scales, in centerPoint).AsM4x4(); 886=> Impl.CreateScale(scale).AsM4x4(); 893=> Impl.CreateScale(scale, in centerPoint).AsM4x4(); 900=> Impl.CreateShadow(in lightDirection, in plane).AsM4x4(); 906=> Impl.CreateTranslation(in position).AsM4x4(); 914=> Impl.CreateTranslation(xPosition, yPosition, zPosition).AsM4x4(); 932=> Impl.CreateViewport(x, y, width, height, minDepth, maxDepth).AsM4x4(); 950=> Impl.CreateViewportLeftHanded(x, y, width, height, minDepth, maxDepth).AsM4x4(); 959=> Impl.CreateWorld(in position, in forward, in up).AsM4x4(); 968=> Impl.Decompose(in matrix.AsImpl(), out scale, out rotation, out translation); 977return Impl.Invert(in matrix.AsImpl(), out result.AsImpl()); 987=> Impl.Lerp(in matrix1.AsImpl(), in matrix2.AsImpl(), amount).AsM4x4(); 1023=> Impl.Transform(in value.AsImpl(), in rotation).AsM4x4(); 1029=> Impl.Transpose(in matrix.AsImpl()).AsM4x4();
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (118)
23internal ref Impl AsImpl() => ref Unsafe.As<Matrix4x4, Impl>(ref this); 27internal readonly ref readonly Impl AsROImpl() => ref Unsafe.As<Matrix4x4, Impl>(ref Unsafe.AsRef(in this)); 29internal struct Impl : IEquatable<Impl> 33public ref Matrix4x4 AsM4x4() => ref Unsafe.As<Impl, Matrix4x4>(ref this); 45public static Impl operator +(in Impl left, in Impl right) 47Impl result; 58public static bool operator ==(in Impl left, in Impl right) 67public static bool operator !=(in Impl left, in Impl right) 76public static Impl operator *(in Impl left, float right) 78Impl result; 89public static Impl operator -(in Impl left, in Impl right) 91Impl result; 102public static Impl operator -(in Impl value) 104Impl result; 115public static Impl CreateBillboard(in Vector3 objectPosition, in Vector3 cameraPosition, in Vector3 cameraUpVector, in Vector3 cameraForwardVector) 135Impl result; 146public static Impl CreateBillboardLeftHanded(in Vector3 objectPosition, in Vector3 cameraPosition, in Vector3 cameraUpVector, in Vector3 cameraForwardVector) 166Impl result; 177public static Impl CreateConstrainedBillboard(in Vector3 objectPosition, in Vector3 cameraPosition, in Vector3 rotateAxis, in Vector3 cameraForwardVector, in Vector3 objectForwardVector) 227Impl result; 237public static Impl CreateConstrainedBillboardLeftHanded(in Vector3 objectPosition, in Vector3 cameraPosition, in Vector3 rotateAxis, in Vector3 cameraForwardVector, in Vector3 objectForwardVector) 287Impl result; 298public static Impl CreateFromAxisAngle(in Vector3 axis, float angle) 305public static Impl CreateFromQuaternion(in Quaternion quaternion) 318Impl result; 344public static Impl CreateFromYawPitchRoll(float yaw, float pitch, float roll) 351public static Impl CreateLookTo(in Vector3 cameraPosition, in Vector3 cameraDirection, in Vector3 cameraUpVector) 360public static Impl CreateLookToLeftHanded(in Vector3 cameraPosition, in Vector3 cameraDirection, in Vector3 cameraUpVector) 370Impl result; 381public static Impl CreateOrthographic(float width, float height, float zNearPlane, float zFarPlane) 388Impl result; 399public static Impl CreateOrthographicLeftHanded(float width, float height, float zNearPlane, float zFarPlane) 406Impl result; 417public static Impl CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane) 426Impl result; 442public static Impl CreateOrthographicOffCenterLeftHanded(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane) 451Impl result; 467public static Impl CreatePerspective(float width, float height, float nearPlaneDistance, float farPlaneDistance) 479Impl result; 490public static Impl CreatePerspectiveLeftHanded(float width, float height, float nearPlaneDistance, float farPlaneDistance) 502Impl result; 513public static Impl CreatePerspectiveFieldOfView(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance) 529Impl result; 540public static Impl CreatePerspectiveFieldOfViewLeftHanded(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance) 556Impl result; 567public static Impl CreatePerspectiveOffCenter(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance) 581Impl result; 597public static Impl CreatePerspectiveOffCenterLeftHanded(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance) 611Impl result; 627public static Impl CreateReflection(in Plane value) 635Impl result; 646public static Impl CreateRotationX(float radians) 655Impl result; 666public static Impl CreateRotationX(float radians, in Vector3 centerPoint) 678Impl result; 689public static Impl CreateRotationY(float radians) 698Impl result; 709public static Impl CreateRotationY(float radians, in Vector3 centerPoint) 721Impl result; 732public static Impl CreateRotationZ(float radians) 741Impl result; 752public static Impl CreateRotationZ(float radians, in Vector3 centerPoint) 764Impl result; 775public static Impl CreateScale(float scaleX, float scaleY, float scaleZ) 777Impl result; 788public static Impl CreateScale(float scaleX, float scaleY, float scaleZ, in Vector3 centerPoint) 790Impl result; 801public static Impl CreateScale(in Vector3 scales) 803Impl result; 814public static Impl CreateScale(in Vector3 scales, in Vector3 centerPoint) 816Impl result; 827public static Impl CreateScale(float scale) 829Impl result; 840public static Impl CreateScale(float scale, in Vector3 centerPoint) 842Impl result; 853public static Impl CreateShadow(in Vector3 lightDirection, in Plane plane) 861Impl result; 872public static Impl CreateTranslation(in Vector3 position) 874Impl result; 885public static Impl CreateTranslation(float positionX, float positionY, float positionZ) 887Impl result; 899public static Impl CreateViewport(float x, float y, float width, float height, float minDepth, float maxDepth) 901Impl result; 916public static Impl CreateViewportLeftHanded(float x, float y, float width, float height, float minDepth, float maxDepth) 918Impl result; 933public static Impl CreateWorld(in Vector3 position, in Vector3 forward, in Vector3 up) 939Impl result; 950public static unsafe bool Decompose(in Impl matrix, out Vector3 scale, out Quaternion rotation, out Vector3 translation) 952Impl matTemp = Matrix4x4.Identity.AsImpl(); 1137public static bool Invert(in Impl matrix, out Impl result) 1150static bool SseImpl(in Impl matrix, out Impl result) 1311static bool SoftwareFallback(in Impl matrix, out Impl result) 1478public static Impl Lerp(in Impl left, in Impl right, float amount) 1480Impl result; 1491public static Impl Transform(in Impl value, in Quaternion rotation) 1522Impl result; 1553public static Impl Transpose(in Impl matrix) 1558Impl result; 1610public readonly bool Equals(in Impl other) 1672readonly bool IEquatable<Impl>.Equals(Impl other) => Equals(in other);