RingDotNetfor Ring

System.Numerics

45 wrapped types. Load them with using { "System.Numerics" }. Click a class to open it.

BigInteger struct

System.Numerics.BigInteger · assembly System.Runtime.Numerics

Implements: ISpanFormattable, IFormattable, IComparable, IUtf8SpanFormattable

Constructors

new BigInteger(int value)
new BigInteger(uint value)
new BigInteger(long value)
new BigInteger(ulong value)
new BigInteger(float value)
new BigInteger(double value)
new BigInteger(decimal value)
new BigInteger(byte[] value)
new BigInteger(ReadOnlySpan<byte> value, bool isUnsigned = …, bool isBigEndian = …)

Ring: new BigInteger(args) uses one constructor; the others are chosen by the parameter names: new BigInteger().@New([ :param = value ]) or dnNew("BigInteger",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsPowerOfTwoboolreado.IsPowerOfTwo
IsZeroboolreado.IsZero
IsOneboolreado.IsOne
IsEvenboolreado.IsEven
Signintreado.Sign
ZeroBigIntegerread · statico.Zero
OneBigIntegerread · statico.One
MinusOneBigIntegerread · statico.MinusOne

Methods

MethodRing call.NET overloads
AbsAbs(p1)static BigInteger Abs(BigInteger value)
AddAdd(p1,p2)static BigInteger Add(BigInteger left, BigInteger right)
ClampClamp(p1,p2,p3)static BigInteger Clamp(BigInteger value, BigInteger min, BigInteger max)
CompareCompare(p1,p2)static int Compare(BigInteger left, BigInteger right)
CompareTocallMethod("CompareTo",[p1])int CompareTo(long other)
int CompareTo(ulong other)
int CompareTo(BigInteger other)
int CompareTo(object obj)
CopySignCopySign(p1,p2)static BigInteger CopySign(BigInteger value, BigInteger sign)
CreateCheckedCreateChecked(p1)static BigInteger CreateChecked<TOther>(TOther value)
CreateSaturatingCreateSaturating(p1)static BigInteger CreateSaturating<TOther>(TOther value)
CreateTruncatingCreateTruncating(p1)static BigInteger CreateTruncating<TOther>(TOther value)
DivideDivide(p1,p2)static BigInteger Divide(BigInteger dividend, BigInteger divisor)
DivRemDivRem(p1,p2)static BigInteger DivRem(BigInteger dividend, BigInteger divisor, out BigInteger remainder)
static ValueTuple<BigInteger, BigInteger> DivRem(BigInteger left, BigInteger right)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(long other)
bool Equals(ulong other)
bool Equals(BigInteger other)
GetBitLengthcallMethod("GetBitLength",[])long GetBitLength()
GetByteCountcallMethod("GetByteCount",[p1])int GetByteCount(bool isUnsigned = …)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GreatestCommonDivisorGreatestCommonDivisor(p1,p2)static BigInteger GreatestCommonDivisor(BigInteger left, BigInteger right)
IsEvenIntegerIsEvenInteger(p1)static bool IsEvenInteger(BigInteger value)
IsNegativeIsNegative(p1)static bool IsNegative(BigInteger value)
IsOddIntegerIsOddInteger(p1)static bool IsOddInteger(BigInteger value)
IsPositiveIsPositive(p1)static bool IsPositive(BigInteger value)
IsPow2IsPow2(p1)static bool IsPow2(BigInteger value)
LeadingZeroCountLeadingZeroCount(p1)static BigInteger LeadingZeroCount(BigInteger value)
LogLog(value)
Log([ :value = … ])
Log([ :value = …, :baseValue = … ])
static double Log(BigInteger value)
static double Log(BigInteger value, double baseValue)
Log10Log10(p1)static double Log10(BigInteger value)
Log2Log2(p1)static BigInteger Log2(BigInteger value)
MaxMax(p1,p2)static BigInteger Max(BigInteger left, BigInteger right)
MaxMagnitudeMaxMagnitude(p1,p2)static BigInteger MaxMagnitude(BigInteger x, BigInteger y)
MinMin(p1,p2)static BigInteger Min(BigInteger left, BigInteger right)
MinMagnitudeMinMagnitude(p1,p2)static BigInteger MinMagnitude(BigInteger x, BigInteger y)
ModPowModPow(p1,p2,p3)static BigInteger ModPow(BigInteger value, BigInteger exponent, BigInteger modulus)
MultiplyMultiply(p1,p2)static BigInteger Multiply(BigInteger left, BigInteger right)
NegateNegate(p1)static BigInteger Negate(BigInteger value)
ParseParse(value)
Parse([ :value = … ])
Parse([ :value = …, :style = … ])
Parse([ :value = …, :provider = … ])
Parse([ :s = …, :provider = … ])
static BigInteger Parse(string value)
static BigInteger Parse(string value, NumberStyles style)
static BigInteger Parse(string value, IFormatProvider provider)
static BigInteger Parse(string value, NumberStyles style, IFormatProvider provider)
static BigInteger Parse(ReadOnlySpan<char> value, NumberStyles style = …, IFormatProvider provider = …)
static BigInteger Parse(ReadOnlySpan<char> s, IFormatProvider provider)
PopCountPopCount(p1)static BigInteger PopCount(BigInteger value)
PowPow(p1,p2)static BigInteger Pow(BigInteger value, int exponent)
RemainderRemainder(p1,p2)static BigInteger Remainder(BigInteger dividend, BigInteger divisor)
RotateLeftRotateLeft(p1,p2)static BigInteger RotateLeft(BigInteger value, int rotateAmount)
RotateRightRotateRight(p1,p2)static BigInteger RotateRight(BigInteger value, int rotateAmount)
SubtractSubtract(p1,p2)static BigInteger Subtract(BigInteger left, BigInteger right)
ToByteArrayToByteArray(NULL)
ToByteArray([ :isUnsigned = …, :isBigEndian = … ])
byte[] ToByteArray()
byte[] ToByteArray(bool isUnsigned = …, bool isBigEndian = …)
ToStringcallMethod("ToString",[])
callMethod("ToString",[p1])
callMethod("ToString",[p1,p2])
string ToString()
string ToString(IFormatProvider provider)
string ToString(string format)
string ToString(string format, IFormatProvider provider)
TrailingZeroCountTrailingZeroCount(p1)static BigInteger TrailingZeroCount(BigInteger value)
TryFormatTryFormat([ :destination = …, :charsWritten = …, :format = …, :provider = … ])bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = …, IFormatProvider provider = …)
TryParseTryParse([ :value = …, :result = … ])
TryParse([ :s = …, :provider = …, :result = … ])
TryParse([ :value = …, :style = …, :provider = …, :result = … ])
static bool TryParse(string value, out BigInteger result)
static bool TryParse(string value, NumberStyles style, IFormatProvider provider, out BigInteger result)
static bool TryParse(ReadOnlySpan<char> value, out BigInteger result)
static bool TryParse(ReadOnlySpan<char> value, NumberStyles style, IFormatProvider provider, out BigInteger result)
static bool TryParse(string s, IFormatProvider provider, out BigInteger result)
static bool TryParse(ReadOnlySpan<char> s, IFormatProvider provider, out BigInteger result)
TryWriteBytesTryWriteBytes([ :destination = …, :bytesWritten = …, :isUnsigned = …, :isBigEndian = … ])bool TryWriteBytes(Span<byte> destination, out int bytesWritten, bool isUnsigned = …, bool isBigEndian = …)
BitOperations class static

System.Numerics.BitOperations · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
Crc32CcallMethod("Crc32C",[p1,p2])static uint Crc32C(uint crc, byte data)
static uint Crc32C(uint crc, ushort data)
static uint Crc32C(uint crc, uint data)
static uint Crc32C(uint crc, ulong data)
IsPow2callMethod("IsPow2",[p1])static bool IsPow2(int value)
static bool IsPow2(uint value)
static bool IsPow2(long value)
static bool IsPow2(ulong value)
static bool IsPow2(IntPtr value)
static bool IsPow2(UIntPtr value)
LeadingZeroCountcallMethod("LeadingZeroCount",[p1])static int LeadingZeroCount(uint value)
static int LeadingZeroCount(ulong value)
static int LeadingZeroCount(UIntPtr value)
Log2callMethod("Log2",[p1])static int Log2(uint value)
static int Log2(ulong value)
static int Log2(UIntPtr value)
PopCountcallMethod("PopCount",[p1])static int PopCount(uint value)
static int PopCount(ulong value)
static int PopCount(UIntPtr value)
RotateLeftcallMethod("RotateLeft",[p1,p2])static uint RotateLeft(uint value, int offset)
static ulong RotateLeft(ulong value, int offset)
static UIntPtr RotateLeft(UIntPtr value, int offset)
RotateRightcallMethod("RotateRight",[p1,p2])static uint RotateRight(uint value, int offset)
static ulong RotateRight(ulong value, int offset)
static UIntPtr RotateRight(UIntPtr value, int offset)
RoundUpToPowerOf2callMethod("RoundUpToPowerOf2",[p1])static uint RoundUpToPowerOf2(uint value)
static ulong RoundUpToPowerOf2(ulong value)
static UIntPtr RoundUpToPowerOf2(UIntPtr value)
TrailingZeroCountcallMethod("TrailingZeroCount",[p1])static int TrailingZeroCount(int value)
static int TrailingZeroCount(uint value)
static int TrailingZeroCount(long value)
static int TrailingZeroCount(ulong value)
static int TrailingZeroCount(IntPtr value)
static int TrailingZeroCount(UIntPtr value)
Complex struct

System.Numerics.Complex · assembly System.Runtime.Numerics

Implements: IFormattable, ISpanFormattable, IUtf8SpanFormattable

Constructors

new Complex(double real, double imaginary)

Ring: new Complex(args) uses one constructor; the others are chosen by the parameter names: new Complex().@New([ :param = value ]) or dnNew("Complex",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Realdoublereado.Real
Imaginarydoublereado.Imaginary
Magnitudedoublereado.Magnitude
Phasedoublereado.Phase
ZeroComplexread · statico.Zero
OneComplexread · statico.One
ImaginaryOneComplexread · statico.ImaginaryOne
NaNComplexread · statico.NaN
InfinityComplexread · statico.Infinity

Methods

MethodRing call.NET overloads
AbsAbs(p1)static double Abs(Complex value)
AcosAcos(p1)static Complex Acos(Complex value)
AddAdd(p1,p2)static Complex Add(Complex left, Complex right)
static Complex Add(Complex left, double right)
static Complex Add(double left, Complex right)
AsinAsin(p1)static Complex Asin(Complex value)
AtanAtan(p1)static Complex Atan(Complex value)
ConjugateConjugate(p1)static Complex Conjugate(Complex value)
CosCos(p1)static Complex Cos(Complex value)
CoshCosh(p1)static Complex Cosh(Complex value)
CreateCheckedCreateChecked(p1)static Complex CreateChecked<TOther>(TOther value)
CreateSaturatingCreateSaturating(p1)static Complex CreateSaturating<TOther>(TOther value)
CreateTruncatingCreateTruncating(p1)static Complex CreateTruncating<TOther>(TOther value)
DivideDivide(p1,p2)static Complex Divide(Complex dividend, Complex divisor)
static Complex Divide(Complex dividend, double divisor)
static Complex Divide(double dividend, Complex divisor)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Complex value)
ExpExp(p1)static Complex Exp(Complex value)
FromPolarCoordinatesFromPolarCoordinates(p1,p2)static Complex FromPolarCoordinates(double magnitude, double phase)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
IsComplexNumberIsComplexNumber(p1)static bool IsComplexNumber(Complex value)
IsEvenIntegerIsEvenInteger(p1)static bool IsEvenInteger(Complex value)
IsFiniteIsFinite(p1)static bool IsFinite(Complex value)
IsImaginaryNumberIsImaginaryNumber(p1)static bool IsImaginaryNumber(Complex value)
IsInfinityIsInfinity(p1)static bool IsInfinity(Complex value)
IsIntegerIsInteger(p1)static bool IsInteger(Complex value)
IsNaNIsNaN(p1)static bool IsNaN(Complex value)
IsNegativeIsNegative(p1)static bool IsNegative(Complex value)
IsNegativeInfinityIsNegativeInfinity(p1)static bool IsNegativeInfinity(Complex value)
IsNormalIsNormal(p1)static bool IsNormal(Complex value)
IsOddIntegerIsOddInteger(p1)static bool IsOddInteger(Complex value)
IsPositiveIsPositive(p1)static bool IsPositive(Complex value)
IsPositiveInfinityIsPositiveInfinity(p1)static bool IsPositiveInfinity(Complex value)
IsRealNumberIsRealNumber(p1)static bool IsRealNumber(Complex value)
IsSubnormalIsSubnormal(p1)static bool IsSubnormal(Complex value)
LogLog(value)
Log([ :value = … ])
Log([ :value = …, :baseValue = … ])
static Complex Log(Complex value)
static Complex Log(Complex value, double baseValue)
Log10Log10(p1)static Complex Log10(Complex value)
MaxMagnitudeMaxMagnitude(p1,p2)static Complex MaxMagnitude(Complex x, Complex y)
MinMagnitudeMinMagnitude(p1,p2)static Complex MinMagnitude(Complex x, Complex y)
MultiplyMultiply(p1,p2)static Complex Multiply(Complex left, Complex right)
static Complex Multiply(Complex left, double right)
static Complex Multiply(double left, Complex right)
NegateNegate(p1)static Complex Negate(Complex value)
ParseParse([ :s = …, :provider = … ])
Parse([ :s = …, :style = …, :provider = … ])
static Complex Parse(ReadOnlySpan<char> s, NumberStyles style, IFormatProvider provider)
static Complex Parse(string s, NumberStyles style, IFormatProvider provider)
static Complex Parse(string s, IFormatProvider provider)
static Complex Parse(ReadOnlySpan<char> s, IFormatProvider provider)
PowPow(p1,p2)static Complex Pow(Complex value, Complex power)
static Complex Pow(Complex value, double power)
ReciprocalReciprocal(p1)static Complex Reciprocal(Complex value)
SinSin(p1)static Complex Sin(Complex value)
SinhSinh(p1)static Complex Sinh(Complex value)
SqrtSqrt(p1)static Complex Sqrt(Complex value)
SubtractSubtract(p1,p2)static Complex Subtract(Complex left, Complex right)
static Complex Subtract(Complex left, double right)
static Complex Subtract(double left, Complex right)
TanTan(p1)static Complex Tan(Complex value)
TanhTanh(p1)static Complex Tanh(Complex value)
ToStringcallMethod("ToString",[])
callMethod("ToString",[p1])
callMethod("ToString",[p1,p2])
string ToString()
string ToString(string format)
string ToString(IFormatProvider provider)
string ToString(string format, IFormatProvider provider)
TryFormatTryFormat([ :destination = …, :charsWritten = …, :format = …, :provider = … ])
TryFormat([ :utf8Destination = …, :bytesWritten = …, :format = …, :provider = … ])
bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = …, IFormatProvider provider = …)
bool TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format = …, IFormatProvider provider = …)
TryParseTryParse([ :s = …, :provider = …, :result = … ])
TryParse([ :s = …, :style = …, :provider = …, :result = … ])
static bool TryParse(ReadOnlySpan<char> s, NumberStyles style, IFormatProvider provider, out Complex result)
static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out Complex result)
static bool TryParse(string s, IFormatProvider provider, out Complex result)
static bool TryParse(ReadOnlySpan<char> s, IFormatProvider provider, out Complex result)
IAdditionOperators interface

System.Numerics.IAdditionOperators`3 · assembly System.Private.CoreLib

IAdditiveIdentity interface

System.Numerics.IAdditiveIdentity`2 · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
AdditiveIdentityTResultread · static—
IBinaryFloatingPointIeee754 interface

System.Numerics.IBinaryFloatingPointIeee754`1 · assembly System.Private.CoreLib

Implements: IComparable, ISpanFormattable, IFormattable, IUtf8SpanFormattable

IBinaryInteger interface

System.Numerics.IBinaryInteger`1 · assembly System.Private.CoreLib

Implements: IComparable, ISpanFormattable, IFormattable, IUtf8SpanFormattable

IBinaryNumber interface

System.Numerics.IBinaryNumber`1 · assembly System.Private.CoreLib

Implements: IComparable, ISpanFormattable, IFormattable, IUtf8SpanFormattable

Properties and fields

NameTypeAccessIn Ring
AllBitsSetTSelfread · static—
IBitwiseOperators interface

System.Numerics.IBitwiseOperators`3 · assembly System.Private.CoreLib

IComparisonOperators interface

System.Numerics.IComparisonOperators`3 · assembly System.Private.CoreLib

IDecrementOperators interface

System.Numerics.IDecrementOperators`1 · assembly System.Private.CoreLib

IDivisionOperators interface

System.Numerics.IDivisionOperators`3 · assembly System.Private.CoreLib

IEqualityOperators interface

System.Numerics.IEqualityOperators`3 · assembly System.Private.CoreLib

IExponentialFunctions interface

System.Numerics.IExponentialFunctions`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

IFloatingPoint interface

System.Numerics.IFloatingPoint`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable, IComparable

Methods

MethodRing call.NET overloads
ConvertToIntegercallMethod("ConvertToInteger",[p1])static TInteger ConvertToInteger<TInteger>(TSelf value)
ConvertToIntegerNativecallMethod("ConvertToIntegerNative",[p1])static TInteger ConvertToIntegerNative<TInteger>(TSelf value)
IFloatingPointConstants interface

System.Numerics.IFloatingPointConstants`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

Properties and fields

NameTypeAccessIn Ring
ETSelfread · static—
PiTSelfread · static—
TauTSelfread · static—
IFloatingPointIeee754 interface

System.Numerics.IFloatingPointIeee754`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable, IComparable

Properties and fields

NameTypeAccessIn Ring
EpsilonTSelfread · static—
NaNTSelfread · static—
NegativeInfinityTSelfread · static—
NegativeZeroTSelfread · static—
PositiveInfinityTSelfread · static—
IHyperbolicFunctions interface

System.Numerics.IHyperbolicFunctions`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

IIncrementOperators interface

System.Numerics.IIncrementOperators`1 · assembly System.Private.CoreLib

ILogarithmicFunctions interface

System.Numerics.ILogarithmicFunctions`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

IMinMaxValue interface

System.Numerics.IMinMaxValue`1 · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
MinValueTSelfread · static—
MaxValueTSelfread · static—
IModulusOperators interface

System.Numerics.IModulusOperators`3 · assembly System.Private.CoreLib

IMultiplicativeIdentity interface

System.Numerics.IMultiplicativeIdentity`2 · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
MultiplicativeIdentityTResultread · static—
IMultiplyOperators interface

System.Numerics.IMultiplyOperators`3 · assembly System.Private.CoreLib

INumber interface

System.Numerics.INumber`1 · assembly System.Private.CoreLib

Implements: IComparable, ISpanFormattable, IFormattable, IUtf8SpanFormattable

INumberBase interface

System.Numerics.INumberBase`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

Properties and fields

NameTypeAccessIn Ring
OneTSelfread · static—
Radixintread · static—
ZeroTSelfread · static—

Methods

MethodRing call.NET overloads
CreateCheckedcallMethod("CreateChecked",[p1])static TSelf CreateChecked<TOther>(TOther value)
CreateSaturatingcallMethod("CreateSaturating",[p1])static TSelf CreateSaturating<TOther>(TOther value)
CreateTruncatingcallMethod("CreateTruncating",[p1])static TSelf CreateTruncating<TOther>(TOther value)
IPowerFunctions interface

System.Numerics.IPowerFunctions`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

IRootFunctions interface

System.Numerics.IRootFunctions`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

IShiftOperators interface

System.Numerics.IShiftOperators`3 · assembly System.Private.CoreLib

ISignedNumber interface

System.Numerics.ISignedNumber`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

Properties and fields

NameTypeAccessIn Ring
NegativeOneTSelfread · static—
ISubtractionOperators interface

System.Numerics.ISubtractionOperators`3 · assembly System.Private.CoreLib

ITrigonometricFunctions interface

System.Numerics.ITrigonometricFunctions`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

IUnaryNegationOperators interface

System.Numerics.IUnaryNegationOperators`2 · assembly System.Private.CoreLib

IUnaryPlusOperators interface

System.Numerics.IUnaryPlusOperators`2 · assembly System.Private.CoreLib

IUnsignedNumber interface

System.Numerics.IUnsignedNumber`1 · assembly System.Private.CoreLib

Implements: ISpanFormattable, IFormattable, IUtf8SpanFormattable

Matrix3x2 struct

System.Numerics.Matrix3x2 · assembly System.Private.CoreLib

Constructors

new Matrix3x2(float m11, float m12, float m21, float m22, float m31, float m32)

Ring: new Matrix3x2(args) uses one constructor; the others are chosen by the parameter names: new Matrix3x2().@New([ :param = value ]) or dnNew("Matrix3x2",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsIdentityboolreado.IsIdentity
TranslationVector2read, writeo.Translation o.Translation = v
IdentityMatrix3x2read · statico.Identity
M11floatread, writeo.M11 o.M11 = v
M12floatread, writeo.M12 o.M12 = v
M21floatread, writeo.M21 o.M21 = v
M22floatread, writeo.M22 o.M22 = v
M31floatread, writeo.M31 o.M31 = v
M32floatread, writeo.M32 o.M32 = v

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static Matrix3x2 Add(Matrix3x2 value1, Matrix3x2 value2)
CreateRotationCreateRotation(value)
CreateRotation([ :radians = … ])
CreateRotation([ :radians = …, :centerPoint = … ])
static Matrix3x2 CreateRotation(float radians)
static Matrix3x2 CreateRotation(float radians, Vector2 centerPoint)
CreateScaleCreateScale(value)
CreateScale([ :scales = … ])
CreateScale([ :scale = … ])
CreateScale([ :xScale = …, :yScale = … ])
CreateScale([ :scales = …, :centerPoint = … ])
static Matrix3x2 CreateScale(Vector2 scales)
static Matrix3x2 CreateScale(float xScale, float yScale)
static Matrix3x2 CreateScale(float xScale, float yScale, Vector2 centerPoint)
static Matrix3x2 CreateScale(Vector2 scales, Vector2 centerPoint)
static Matrix3x2 CreateScale(float scale)
static Matrix3x2 CreateScale(float scale, Vector2 centerPoint)
CreateSkewCreateSkew([ :radiansX = …, :radiansY = … ])
CreateSkew([ :radiansX = …, :radiansY = …, :centerPoint = … ])
static Matrix3x2 CreateSkew(float radiansX, float radiansY)
static Matrix3x2 CreateSkew(float radiansX, float radiansY, Vector2 centerPoint)
CreateTranslationCreateTranslation(value)
CreateTranslation([ :position = … ])
CreateTranslation([ :xPosition = …, :yPosition = … ])
static Matrix3x2 CreateTranslation(Vector2 position)
static Matrix3x2 CreateTranslation(float xPosition, float yPosition)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Matrix3x2 other)
GetDeterminantcallMethod("GetDeterminant",[])float GetDeterminant()
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
InvertInvert(p1)static bool Invert(Matrix3x2 matrix, out Matrix3x2 result)
LerpLerp(p1,p2,p3)static Matrix3x2 Lerp(Matrix3x2 matrix1, Matrix3x2 matrix2, float amount)
MultiplyMultiply(p1,p2)static Matrix3x2 Multiply(Matrix3x2 value1, Matrix3x2 value2)
static Matrix3x2 Multiply(Matrix3x2 value1, float value2)
NegateNegate(p1)static Matrix3x2 Negate(Matrix3x2 value)
SubtractSubtract(p1,p2)static Matrix3x2 Subtract(Matrix3x2 value1, Matrix3x2 value2)
ToStringcallMethod("ToString",[])string ToString()
Matrix4x4 struct

System.Numerics.Matrix4x4 · assembly System.Private.CoreLib

Constructors

new Matrix4x4(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44)
new Matrix4x4(Matrix3x2 value)

Ring: new Matrix4x4(args) uses one constructor; the others are chosen by the parameter names: new Matrix4x4().@New([ :param = value ]) or dnNew("Matrix4x4",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsIdentityboolreado.IsIdentity
TranslationVector3read, writeo.Translation o.Translation = v
IdentityMatrix4x4read · statico.Identity
M11floatread, writeo.M11 o.M11 = v
M12floatread, writeo.M12 o.M12 = v
M13floatread, writeo.M13 o.M13 = v
M14floatread, writeo.M14 o.M14 = v
M21floatread, writeo.M21 o.M21 = v
M22floatread, writeo.M22 o.M22 = v
M23floatread, writeo.M23 o.M23 = v
M24floatread, writeo.M24 o.M24 = v
M31floatread, writeo.M31 o.M31 = v
M32floatread, writeo.M32 o.M32 = v
M33floatread, writeo.M33 o.M33 = v
M34floatread, writeo.M34 o.M34 = v
M41floatread, writeo.M41 o.M41 = v
M42floatread, writeo.M42 o.M42 = v
M43floatread, writeo.M43 o.M43 = v
M44floatread, writeo.M44 o.M44 = v

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static Matrix4x4 Add(Matrix4x4 value1, Matrix4x4 value2)
CreateBillboardCreateBillboard(p1,p2,p3,p4)static Matrix4x4 CreateBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector)
CreateConstrainedBillboardCreateConstrainedBillboard(p1,p2,p3,p4,p5)static Matrix4x4 CreateConstrainedBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 rotateAxis, Vector3 cameraForwardVector, Vector3 objectForwardVector)
CreateFromAxisAngleCreateFromAxisAngle(p1,p2)static Matrix4x4 CreateFromAxisAngle(Vector3 axis, float angle)
CreateFromQuaternionCreateFromQuaternion(p1)static Matrix4x4 CreateFromQuaternion(Quaternion quaternion)
CreateFromYawPitchRollCreateFromYawPitchRoll(p1,p2,p3)static Matrix4x4 CreateFromYawPitchRoll(float yaw, float pitch, float roll)
CreateLookAtCreateLookAt(p1,p2,p3)static Matrix4x4 CreateLookAt(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector)
CreateLookAtLeftHandedCreateLookAtLeftHanded(p1,p2,p3)static Matrix4x4 CreateLookAtLeftHanded(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector)
CreateLookToCreateLookTo(p1,p2,p3)static Matrix4x4 CreateLookTo(Vector3 cameraPosition, Vector3 cameraDirection, Vector3 cameraUpVector)
CreateLookToLeftHandedCreateLookToLeftHanded(p1,p2,p3)static Matrix4x4 CreateLookToLeftHanded(Vector3 cameraPosition, Vector3 cameraDirection, Vector3 cameraUpVector)
CreateOrthographicCreateOrthographic(p1,p2,p3,p4)static Matrix4x4 CreateOrthographic(float width, float height, float zNearPlane, float zFarPlane)
CreateOrthographicLeftHandedCreateOrthographicLeftHanded(p1,p2,p3,p4)static Matrix4x4 CreateOrthographicLeftHanded(float width, float height, float zNearPlane, float zFarPlane)
CreateOrthographicOffCenterCreateOrthographicOffCenter(p1,p2,p3,p4,p5,p6)static Matrix4x4 CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane)
CreateOrthographicOffCenterLeftHandedCreateOrthographicOffCenterLeftHanded(p1,p2,p3,p4,p5,p6)static Matrix4x4 CreateOrthographicOffCenterLeftHanded(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane)
CreatePerspectiveCreatePerspective(p1,p2,p3,p4)static Matrix4x4 CreatePerspective(float width, float height, float nearPlaneDistance, float farPlaneDistance)
CreatePerspectiveFieldOfViewCreatePerspectiveFieldOfView(p1,p2,p3,p4)static Matrix4x4 CreatePerspectiveFieldOfView(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance)
CreatePerspectiveFieldOfViewLeftHandedCreatePerspectiveFieldOfViewLeftHanded(p1,p2,p3,p4)static Matrix4x4 CreatePerspectiveFieldOfViewLeftHanded(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance)
CreatePerspectiveLeftHandedCreatePerspectiveLeftHanded(p1,p2,p3,p4)static Matrix4x4 CreatePerspectiveLeftHanded(float width, float height, float nearPlaneDistance, float farPlaneDistance)
CreatePerspectiveOffCenterCreatePerspectiveOffCenter(p1,p2,p3,p4,p5,p6)static Matrix4x4 CreatePerspectiveOffCenter(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance)
CreatePerspectiveOffCenterLeftHandedCreatePerspectiveOffCenterLeftHanded(p1,p2,p3,p4,p5,p6)static Matrix4x4 CreatePerspectiveOffCenterLeftHanded(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance)
CreateReflectionCreateReflection(p1)static Matrix4x4 CreateReflection(Plane value)
CreateRotationXCreateRotationX(value)
CreateRotationX([ :radians = … ])
CreateRotationX([ :radians = …, :centerPoint = … ])
static Matrix4x4 CreateRotationX(float radians)
static Matrix4x4 CreateRotationX(float radians, Vector3 centerPoint)
CreateRotationYCreateRotationY(value)
CreateRotationY([ :radians = … ])
CreateRotationY([ :radians = …, :centerPoint = … ])
static Matrix4x4 CreateRotationY(float radians)
static Matrix4x4 CreateRotationY(float radians, Vector3 centerPoint)
CreateRotationZCreateRotationZ(value)
CreateRotationZ([ :radians = … ])
CreateRotationZ([ :radians = …, :centerPoint = … ])
static Matrix4x4 CreateRotationZ(float radians)
static Matrix4x4 CreateRotationZ(float radians, Vector3 centerPoint)
CreateScaleCreateScale(value)
CreateScale([ :scales = … ])
CreateScale([ :scale = … ])
CreateScale([ :scales = …, :centerPoint = … ])
CreateScale([ :scale = …, :centerPoint = … ])
static Matrix4x4 CreateScale(float xScale, float yScale, float zScale)
static Matrix4x4 CreateScale(float xScale, float yScale, float zScale, Vector3 centerPoint)
static Matrix4x4 CreateScale(Vector3 scales)
static Matrix4x4 CreateScale(Vector3 scales, Vector3 centerPoint)
static Matrix4x4 CreateScale(float scale)
static Matrix4x4 CreateScale(float scale, Vector3 centerPoint)
CreateShadowCreateShadow(p1,p2)static Matrix4x4 CreateShadow(Vector3 lightDirection, Plane plane)
CreateTranslationCreateTranslation(value)
CreateTranslation([ :position = … ])
CreateTranslation([ :xPosition = …, :yPosition = …, :zPosition = … ])
static Matrix4x4 CreateTranslation(Vector3 position)
static Matrix4x4 CreateTranslation(float xPosition, float yPosition, float zPosition)
CreateViewportCreateViewport(p1,p2,p3,p4,p5,p6)static Matrix4x4 CreateViewport(float x, float y, float width, float height, float minDepth, float maxDepth)
CreateViewportLeftHandedCreateViewportLeftHanded(p1,p2,p3,p4,p5,p6)static Matrix4x4 CreateViewportLeftHanded(float x, float y, float width, float height, float minDepth, float maxDepth)
CreateWorldCreateWorld(p1,p2,p3)static Matrix4x4 CreateWorld(Vector3 position, Vector3 forward, Vector3 up)
DecomposeDecompose(p1)static bool Decompose(Matrix4x4 matrix, out Vector3 scale, out Quaternion rotation, out Vector3 translation)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Matrix4x4 other)
GetDeterminantcallMethod("GetDeterminant",[])float GetDeterminant()
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
InvertInvert(p1)static bool Invert(Matrix4x4 matrix, out Matrix4x4 result)
LerpLerp(p1,p2,p3)static Matrix4x4 Lerp(Matrix4x4 matrix1, Matrix4x4 matrix2, float amount)
MultiplyMultiply(p1,p2)static Matrix4x4 Multiply(Matrix4x4 value1, Matrix4x4 value2)
static Matrix4x4 Multiply(Matrix4x4 value1, float value2)
NegateNegate(p1)static Matrix4x4 Negate(Matrix4x4 value)
SubtractSubtract(p1,p2)static Matrix4x4 Subtract(Matrix4x4 value1, Matrix4x4 value2)
ToStringcallMethod("ToString",[])string ToString()
TransformTransform(p1,p2)static Matrix4x4 Transform(Matrix4x4 value, Quaternion rotation)
TransposeTranspose(p1)static Matrix4x4 Transpose(Matrix4x4 matrix)
Plane struct

System.Numerics.Plane · assembly System.Private.CoreLib

Constructors

new Plane(float x, float y, float z, float d)
new Plane(Vector3 normal, float d)
new Plane(Vector4 value)

Ring: new Plane(args) uses one constructor; the others are chosen by the parameter names: new Plane().@New([ :param = value ]) or dnNew("Plane",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
NormalVector3read, writeo.Normal o.Normal = v
Dfloatread, writeo.D o.D = v

Methods

MethodRing call.NET overloads
CreateFromVerticesCreateFromVertices(p1,p2,p3)static Plane CreateFromVertices(Vector3 point1, Vector3 point2, Vector3 point3)
DotDot(p1,p2)static float Dot(Plane plane, Vector4 value)
DotCoordinateDotCoordinate(p1,p2)static float DotCoordinate(Plane plane, Vector3 value)
DotNormalDotNormal(p1,p2)static float DotNormal(Plane plane, Vector3 value)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Plane other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
NormalizeNormalize(p1)static Plane Normalize(Plane value)
ToStringcallMethod("ToString",[])string ToString()
TransformTransform(p1,p2)static Plane Transform(Plane plane, Matrix4x4 matrix)
static Plane Transform(Plane plane, Quaternion rotation)
Quaternion struct

System.Numerics.Quaternion · assembly System.Private.CoreLib

Constructors

new Quaternion(float x, float y, float z, float w)
new Quaternion(Vector3 vectorPart, float scalarPart)

Ring: new Quaternion(args) uses one constructor; the others are chosen by the parameter names: new Quaternion().@New([ :param = value ]) or dnNew("Quaternion",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
IsIdentityboolreado.IsIdentity
ZeroQuaternionread · statico.Zero
IdentityQuaternionread · statico.Identity
Xfloatread, writeo.X o.X = v
Yfloatread, writeo.Y o.Y = v
Zfloatread, writeo.Z o.Z = v
Wfloatread, writeo.W o.W = v

Indexer

o.Item(int index) → float · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AddAdd(p1,p2)static Quaternion Add(Quaternion value1, Quaternion value2)
ConcatenateConcatenate(p1,p2)static Quaternion Concatenate(Quaternion value1, Quaternion value2)
ConjugateConjugate(p1)static Quaternion Conjugate(Quaternion value)
CreateFromAxisAngleCreateFromAxisAngle(p1,p2)static Quaternion CreateFromAxisAngle(Vector3 axis, float angle)
CreateFromRotationMatrixCreateFromRotationMatrix(p1)static Quaternion CreateFromRotationMatrix(Matrix4x4 matrix)
CreateFromYawPitchRollCreateFromYawPitchRoll(p1,p2,p3)static Quaternion CreateFromYawPitchRoll(float yaw, float pitch, float roll)
DivideDivide(p1,p2)static Quaternion Divide(Quaternion value1, Quaternion value2)
DotDot(p1,p2)static float Dot(Quaternion quaternion1, Quaternion quaternion2)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Quaternion other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
InverseInverse(p1)static Quaternion Inverse(Quaternion value)
LengthcallMethod("Length",[])float Length()
LengthSquaredcallMethod("LengthSquared",[])float LengthSquared()
LerpLerp(p1,p2,p3)static Quaternion Lerp(Quaternion quaternion1, Quaternion quaternion2, float amount)
MultiplyMultiply(p1,p2)static Quaternion Multiply(Quaternion value1, Quaternion value2)
static Quaternion Multiply(Quaternion value1, float value2)
NegateNegate(p1)static Quaternion Negate(Quaternion value)
NormalizeNormalize(p1)static Quaternion Normalize(Quaternion value)
SlerpSlerp(p1,p2,p3)static Quaternion Slerp(Quaternion quaternion1, Quaternion quaternion2, float amount)
SubtractSubtract(p1,p2)static Quaternion Subtract(Quaternion value1, Quaternion value2)
ToStringcallMethod("ToString",[])string ToString()
TotalOrderIeee754Comparer struct

System.Numerics.TotalOrderIeee754Comparer`1 · assembly System.Private.CoreLib

Vector class static

System.Numerics.Vector · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
IsHardwareAcceleratedboolread · statico.IsHardwareAccelerated

Methods

MethodRing call.NET overloads
AbsAbs(p1)static Vector<T> Abs<T>(Vector<T> value)
AddAdd(p1,p2)static Vector<T> Add<T>(Vector<T> left, Vector<T> right)
AndNotAndNot(p1,p2)static Vector<T> AndNot<T>(Vector<T> left, Vector<T> right)
AsAs(value)
As([ :vector = … ])
static Vector<TTo> As<TFrom, TTo>(Vector<TFrom> vector)
AsPlaneAsPlane(p1)static Plane AsPlane(Vector4 value)
AsQuaternionAsQuaternion(p1)static Quaternion AsQuaternion(Vector4 value)
AsVector2AsVector2(p1)static Vector2 AsVector2(Vector4 value)
AsVector3AsVector3(p1)static Vector3 AsVector3(Vector4 value)
AsVector4AsVector4(p1)static Vector4 AsVector4(Plane value)
static Vector4 AsVector4(Quaternion value)
static Vector4 AsVector4(Vector2 value)
static Vector4 AsVector4(Vector3 value)
AsVector4UnsafeAsVector4Unsafe(p1)static Vector4 AsVector4Unsafe(Vector2 value)
static Vector4 AsVector4Unsafe(Vector3 value)
AsVectorByteAsVectorByte(p1)static Vector<byte> AsVectorByte<T>(Vector<T> value)
AsVectorDoubleAsVectorDouble(p1)static Vector<double> AsVectorDouble<T>(Vector<T> value)
AsVectorInt16AsVectorInt16(p1)static Vector<short> AsVectorInt16<T>(Vector<T> value)
AsVectorInt32AsVectorInt32(p1)static Vector<int> AsVectorInt32<T>(Vector<T> value)
AsVectorInt64AsVectorInt64(p1)static Vector<long> AsVectorInt64<T>(Vector<T> value)
AsVectorNIntAsVectorNInt(p1)static Vector<IntPtr> AsVectorNInt<T>(Vector<T> value)
AsVectorNUIntAsVectorNUInt(p1)static Vector<UIntPtr> AsVectorNUInt<T>(Vector<T> value)
AsVectorSByteAsVectorSByte(p1)static Vector<sbyte> AsVectorSByte<T>(Vector<T> value)
AsVectorSingleAsVectorSingle(p1)static Vector<float> AsVectorSingle<T>(Vector<T> value)
AsVectorUInt16AsVectorUInt16(p1)static Vector<ushort> AsVectorUInt16<T>(Vector<T> value)
AsVectorUInt32AsVectorUInt32(p1)static Vector<uint> AsVectorUInt32<T>(Vector<T> value)
AsVectorUInt64AsVectorUInt64(p1)static Vector<ulong> AsVectorUInt64<T>(Vector<T> value)
BitwiseAndBitwiseAnd(p1,p2)static Vector<T> BitwiseAnd<T>(Vector<T> left, Vector<T> right)
BitwiseOrBitwiseOr(p1,p2)static Vector<T> BitwiseOr<T>(Vector<T> left, Vector<T> right)
CeilingCeiling(p1)static Vector<double> Ceiling(Vector<double> value)
static Vector<float> Ceiling(Vector<float> value)
ClampClamp(p1,p2,p3)static Vector<T> Clamp<T>(Vector<T> value, Vector<T> min, Vector<T> max)
ClampNativeClampNative(p1,p2,p3)static Vector<T> ClampNative<T>(Vector<T> value, Vector<T> min, Vector<T> max)
ConditionalSelectConditionalSelect(p1,p2,p3)static Vector<T> ConditionalSelect<T>(Vector<T> condition, Vector<T> left, Vector<T> right)
static Vector<float> ConditionalSelect(Vector<int> condition, Vector<float> left, Vector<float> right)
static Vector<double> ConditionalSelect(Vector<long> condition, Vector<double> left, Vector<double> right)
ConvertToDoubleConvertToDouble(p1)static Vector<double> ConvertToDouble(Vector<long> value)
static Vector<double> ConvertToDouble(Vector<ulong> value)
ConvertToInt32ConvertToInt32(p1)static Vector<int> ConvertToInt32(Vector<float> value)
ConvertToInt32NativeConvertToInt32Native(p1)static Vector<int> ConvertToInt32Native(Vector<float> value)
ConvertToInt64ConvertToInt64(p1)static Vector<long> ConvertToInt64(Vector<double> value)
ConvertToInt64NativeConvertToInt64Native(p1)static Vector<long> ConvertToInt64Native(Vector<double> value)
ConvertToSingleConvertToSingle(p1)static Vector<float> ConvertToSingle(Vector<int> value)
static Vector<float> ConvertToSingle(Vector<uint> value)
ConvertToUInt32ConvertToUInt32(p1)static Vector<uint> ConvertToUInt32(Vector<float> value)
ConvertToUInt32NativeConvertToUInt32Native(p1)static Vector<uint> ConvertToUInt32Native(Vector<float> value)
ConvertToUInt64ConvertToUInt64(p1)static Vector<ulong> ConvertToUInt64(Vector<double> value)
ConvertToUInt64NativeConvertToUInt64Native(p1)static Vector<ulong> ConvertToUInt64Native(Vector<double> value)
CopySignCopySign(p1,p2)static Vector<T> CopySign<T>(Vector<T> value, Vector<T> sign)
CosCos(p1)static Vector<double> Cos(Vector<double> vector)
static Vector<float> Cos(Vector<float> vector)
CreateCreate(p1)static Vector<T> Create<T>(T value)
static Vector<T> Create<T>(ReadOnlySpan<T> values)
CreateSequenceCreateSequence(p1,p2)static Vector<T> CreateSequence<T>(T start, T step)
DegreesToRadiansDegreesToRadians(p1)static Vector<double> DegreesToRadians(Vector<double> degrees)
static Vector<float> DegreesToRadians(Vector<float> degrees)
DivideDivide(p1,p2)static Vector<T> Divide<T>(Vector<T> left, Vector<T> right)
static Vector<T> Divide<T>(Vector<T> left, T right)
DotDot(p1,p2)static T Dot<T>(Vector<T> left, Vector<T> right)
EqualsEquals([ :left = …, :right = … ])static Vector<T> Equals<T>(Vector<T> left, Vector<T> right)
static Vector<long> Equals(Vector<double> left, Vector<double> right)
static Vector<int> Equals(Vector<int> left, Vector<int> right)
static Vector<long> Equals(Vector<long> left, Vector<long> right)
static Vector<int> Equals(Vector<float> left, Vector<float> right)
EqualsAllEqualsAll(p1,p2)static bool EqualsAll<T>(Vector<T> left, Vector<T> right)
EqualsAnyEqualsAny(p1,p2)static bool EqualsAny<T>(Vector<T> left, Vector<T> right)
ExpExp(p1)static Vector<double> Exp(Vector<double> vector)
static Vector<float> Exp(Vector<float> vector)
FloorFloor(p1)static Vector<double> Floor(Vector<double> value)
static Vector<float> Floor(Vector<float> value)
FusedMultiplyAddFusedMultiplyAdd(p1,p2,p3)static Vector<double> FusedMultiplyAdd(Vector<double> left, Vector<double> right, Vector<double> addend)
static Vector<float> FusedMultiplyAdd(Vector<float> left, Vector<float> right, Vector<float> addend)
GetElementGetElement(p1,p2)static T GetElement<T>(Vector<T> vector, int index)
GreaterThanGreaterThan(p1,p2)static Vector<T> GreaterThan<T>(Vector<T> left, Vector<T> right)
static Vector<long> GreaterThan(Vector<double> left, Vector<double> right)
static Vector<int> GreaterThan(Vector<int> left, Vector<int> right)
static Vector<long> GreaterThan(Vector<long> left, Vector<long> right)
static Vector<int> GreaterThan(Vector<float> left, Vector<float> right)
GreaterThanAllGreaterThanAll(p1,p2)static bool GreaterThanAll<T>(Vector<T> left, Vector<T> right)
GreaterThanAnyGreaterThanAny(p1,p2)static bool GreaterThanAny<T>(Vector<T> left, Vector<T> right)
GreaterThanOrEqualGreaterThanOrEqual(p1,p2)static Vector<T> GreaterThanOrEqual<T>(Vector<T> left, Vector<T> right)
static Vector<long> GreaterThanOrEqual(Vector<double> left, Vector<double> right)
static Vector<int> GreaterThanOrEqual(Vector<int> left, Vector<int> right)
static Vector<long> GreaterThanOrEqual(Vector<long> left, Vector<long> right)
static Vector<int> GreaterThanOrEqual(Vector<float> left, Vector<float> right)
GreaterThanOrEqualAllGreaterThanOrEqualAll(p1,p2)static bool GreaterThanOrEqualAll<T>(Vector<T> left, Vector<T> right)
GreaterThanOrEqualAnyGreaterThanOrEqualAny(p1,p2)static bool GreaterThanOrEqualAny<T>(Vector<T> left, Vector<T> right)
HypotHypot(p1,p2)static Vector<double> Hypot(Vector<double> x, Vector<double> y)
static Vector<float> Hypot(Vector<float> x, Vector<float> y)
IsNaNIsNaN(p1)static Vector<T> IsNaN<T>(Vector<T> vector)
IsNegativeIsNegative(p1)static Vector<T> IsNegative<T>(Vector<T> vector)
IsPositiveIsPositive(p1)static Vector<T> IsPositive<T>(Vector<T> vector)
IsPositiveInfinityIsPositiveInfinity(p1)static Vector<T> IsPositiveInfinity<T>(Vector<T> vector)
IsZeroIsZero(p1)static Vector<T> IsZero<T>(Vector<T> vector)
LerpLerp(p1,p2,p3)static Vector<double> Lerp(Vector<double> x, Vector<double> y, Vector<double> amount)
static Vector<float> Lerp(Vector<float> x, Vector<float> y, Vector<float> amount)
LessThanLessThan(p1,p2)static Vector<T> LessThan<T>(Vector<T> left, Vector<T> right)
static Vector<long> LessThan(Vector<double> left, Vector<double> right)
static Vector<int> LessThan(Vector<int> left, Vector<int> right)
static Vector<long> LessThan(Vector<long> left, Vector<long> right)
static Vector<int> LessThan(Vector<float> left, Vector<float> right)
LessThanAllLessThanAll(p1,p2)static bool LessThanAll<T>(Vector<T> left, Vector<T> right)
LessThanAnyLessThanAny(p1,p2)static bool LessThanAny<T>(Vector<T> left, Vector<T> right)
LessThanOrEqualLessThanOrEqual(p1,p2)static Vector<T> LessThanOrEqual<T>(Vector<T> left, Vector<T> right)
static Vector<long> LessThanOrEqual(Vector<double> left, Vector<double> right)
static Vector<int> LessThanOrEqual(Vector<int> left, Vector<int> right)
static Vector<long> LessThanOrEqual(Vector<long> left, Vector<long> right)
static Vector<int> LessThanOrEqual(Vector<float> left, Vector<float> right)
LessThanOrEqualAllLessThanOrEqualAll(p1,p2)static bool LessThanOrEqualAll<T>(Vector<T> left, Vector<T> right)
LessThanOrEqualAnyLessThanOrEqualAny(p1,p2)static bool LessThanOrEqualAny<T>(Vector<T> left, Vector<T> right)
Load@Load(p1)static Vector<T> Load<T>(T* source)
LoadAlignedLoadAligned(p1)static Vector<T> LoadAligned<T>(T* source)
LoadAlignedNonTemporalLoadAlignedNonTemporal(p1)static Vector<T> LoadAlignedNonTemporal<T>(T* source)
LoadUnsafeLoadUnsafe(value)
LoadUnsafe([ :source = … ])
LoadUnsafe([ :source = …, :elementOffset = … ])
static Vector<T> LoadUnsafe<T>(ref T source)
static Vector<T> LoadUnsafe<T>(ref T source, UIntPtr elementOffset)
LogLog(p1)static Vector<double> Log(Vector<double> vector)
static Vector<float> Log(Vector<float> vector)
Log2Log2(p1)static Vector<double> Log2(Vector<double> vector)
static Vector<float> Log2(Vector<float> vector)
MaxMax(p1,p2)static Vector<T> Max<T>(Vector<T> left, Vector<T> right)
MaxMagnitudeMaxMagnitude(p1,p2)static Vector<T> MaxMagnitude<T>(Vector<T> left, Vector<T> right)
MaxMagnitudeNumberMaxMagnitudeNumber(p1,p2)static Vector<T> MaxMagnitudeNumber<T>(Vector<T> left, Vector<T> right)
MaxNativeMaxNative(p1,p2)static Vector<T> MaxNative<T>(Vector<T> left, Vector<T> right)
MaxNumberMaxNumber(p1,p2)static Vector<T> MaxNumber<T>(Vector<T> left, Vector<T> right)
MinMin(p1,p2)static Vector<T> Min<T>(Vector<T> left, Vector<T> right)
MinMagnitudeMinMagnitude(p1,p2)static Vector<T> MinMagnitude<T>(Vector<T> left, Vector<T> right)
MinMagnitudeNumberMinMagnitudeNumber(p1,p2)static Vector<T> MinMagnitudeNumber<T>(Vector<T> left, Vector<T> right)
MinNativeMinNative(p1,p2)static Vector<T> MinNative<T>(Vector<T> left, Vector<T> right)
MinNumberMinNumber(p1,p2)static Vector<T> MinNumber<T>(Vector<T> left, Vector<T> right)
MultiplyMultiply(p1,p2)static Vector<T> Multiply<T>(Vector<T> left, Vector<T> right)
static Vector<T> Multiply<T>(Vector<T> left, T right)
static Vector<T> Multiply<T>(T left, Vector<T> right)
MultiplyAddEstimateMultiplyAddEstimate(p1,p2,p3)static Vector<double> MultiplyAddEstimate(Vector<double> left, Vector<double> right, Vector<double> addend)
static Vector<float> MultiplyAddEstimate(Vector<float> left, Vector<float> right, Vector<float> addend)
NarrowNarrow(p1,p2)static Vector<float> Narrow(Vector<double> low, Vector<double> high)
static Vector<sbyte> Narrow(Vector<short> low, Vector<short> high)
static Vector<short> Narrow(Vector<int> low, Vector<int> high)
static Vector<int> Narrow(Vector<long> low, Vector<long> high)
static Vector<byte> Narrow(Vector<ushort> low, Vector<ushort> high)
static Vector<ushort> Narrow(Vector<uint> low, Vector<uint> high)
static Vector<uint> Narrow(Vector<ulong> low, Vector<ulong> high)
NegateNegate(p1)static Vector<T> Negate<T>(Vector<T> value)
OnesComplementOnesComplement(p1)static Vector<T> OnesComplement<T>(Vector<T> value)
RadiansToDegreesRadiansToDegrees(p1)static Vector<double> RadiansToDegrees(Vector<double> radians)
static Vector<float> RadiansToDegrees(Vector<float> radians)
RoundRound(value)
Round([ :vector = … ])
Round([ :vector = …, :mode = … ])
static Vector<double> Round(Vector<double> vector)
static Vector<float> Round(Vector<float> vector)
static Vector<double> Round(Vector<double> vector, MidpointRounding mode)
static Vector<float> Round(Vector<float> vector, MidpointRounding mode)
ShiftLeftShiftLeft(p1,p2)static Vector<byte> ShiftLeft(Vector<byte> value, int shiftCount)
static Vector<short> ShiftLeft(Vector<short> value, int shiftCount)
static Vector<int> ShiftLeft(Vector<int> value, int shiftCount)
static Vector<long> ShiftLeft(Vector<long> value, int shiftCount)
static Vector<IntPtr> ShiftLeft(Vector<IntPtr> value, int shiftCount)
static Vector<UIntPtr> ShiftLeft(Vector<UIntPtr> value, int shiftCount)
static Vector<sbyte> ShiftLeft(Vector<sbyte> value, int shiftCount)
static Vector<ushort> ShiftLeft(Vector<ushort> value, int shiftCount)
static Vector<uint> ShiftLeft(Vector<uint> value, int shiftCount)
static Vector<ulong> ShiftLeft(Vector<ulong> value, int shiftCount)
ShiftRightArithmeticShiftRightArithmetic(p1,p2)static Vector<short> ShiftRightArithmetic(Vector<short> value, int shiftCount)
static Vector<int> ShiftRightArithmetic(Vector<int> value, int shiftCount)
static Vector<long> ShiftRightArithmetic(Vector<long> value, int shiftCount)
static Vector<IntPtr> ShiftRightArithmetic(Vector<IntPtr> value, int shiftCount)
static Vector<sbyte> ShiftRightArithmetic(Vector<sbyte> value, int shiftCount)
ShiftRightLogicalShiftRightLogical(p1,p2)static Vector<byte> ShiftRightLogical(Vector<byte> value, int shiftCount)
static Vector<short> ShiftRightLogical(Vector<short> value, int shiftCount)
static Vector<int> ShiftRightLogical(Vector<int> value, int shiftCount)
static Vector<long> ShiftRightLogical(Vector<long> value, int shiftCount)
static Vector<IntPtr> ShiftRightLogical(Vector<IntPtr> value, int shiftCount)
static Vector<UIntPtr> ShiftRightLogical(Vector<UIntPtr> value, int shiftCount)
static Vector<sbyte> ShiftRightLogical(Vector<sbyte> value, int shiftCount)
static Vector<ushort> ShiftRightLogical(Vector<ushort> value, int shiftCount)
static Vector<uint> ShiftRightLogical(Vector<uint> value, int shiftCount)
static Vector<ulong> ShiftRightLogical(Vector<ulong> value, int shiftCount)
SinSin(p1)static Vector<double> Sin(Vector<double> vector)
static Vector<float> Sin(Vector<float> vector)
SinCosSinCos(p1)static ValueTuple<Vector<double>, Vector<double>> SinCos(Vector<double> vector)
static ValueTuple<Vector<float>, Vector<float>> SinCos(Vector<float> vector)
SquareRootSquareRoot(p1)static Vector<T> SquareRoot<T>(Vector<T> value)
StoreStore(p1,p2)static void Store<T>(Vector<T> source, T* destination)
StoreAlignedStoreAligned(p1,p2)static void StoreAligned<T>(Vector<T> source, T* destination)
StoreAlignedNonTemporalStoreAlignedNonTemporal(p1,p2)static void StoreAlignedNonTemporal<T>(Vector<T> source, T* destination)
StoreUnsafeStoreUnsafe([ :source = …, :destination = … ])
StoreUnsafe([ :source = …, :destination = …, :elementOffset = … ])
static void StoreUnsafe<T>(Vector<T> source, ref T destination)
static void StoreUnsafe<T>(Vector<T> source, ref T destination, UIntPtr elementOffset)
SubtractSubtract(p1,p2)static Vector<T> Subtract<T>(Vector<T> left, Vector<T> right)
SumSum(p1)static T Sum<T>(Vector<T> value)
ToScalarToScalar(p1)static T ToScalar<T>(Vector<T> vector)
TruncateTruncate(p1)static Vector<double> Truncate(Vector<double> vector)
static Vector<float> Truncate(Vector<float> vector)
WidenWiden(p1)static void Widen(Vector<byte> source, out Vector<ushort> low, out Vector<ushort> high)
static void Widen(Vector<short> source, out Vector<int> low, out Vector<int> high)
static void Widen(Vector<int> source, out Vector<long> low, out Vector<long> high)
static void Widen(Vector<sbyte> source, out Vector<short> low, out Vector<short> high)
static void Widen(Vector<float> source, out Vector<double> low, out Vector<double> high)
static void Widen(Vector<ushort> source, out Vector<uint> low, out Vector<uint> high)
static void Widen(Vector<uint> source, out Vector<ulong> low, out Vector<ulong> high)
WidenLowerWidenLower(p1)static Vector<ushort> WidenLower(Vector<byte> source)
static Vector<int> WidenLower(Vector<short> source)
static Vector<long> WidenLower(Vector<int> source)
static Vector<short> WidenLower(Vector<sbyte> source)
static Vector<double> WidenLower(Vector<float> source)
static Vector<uint> WidenLower(Vector<ushort> source)
static Vector<ulong> WidenLower(Vector<uint> source)
WidenUpperWidenUpper(p1)static Vector<ushort> WidenUpper(Vector<byte> source)
static Vector<int> WidenUpper(Vector<short> source)
static Vector<long> WidenUpper(Vector<int> source)
static Vector<short> WidenUpper(Vector<sbyte> source)
static Vector<double> WidenUpper(Vector<float> source)
static Vector<uint> WidenUpper(Vector<ushort> source)
static Vector<ulong> WidenUpper(Vector<uint> source)
WithElementWithElement(p1,p2,p3)static Vector<T> WithElement<T>(Vector<T> vector, int index, T value)
XorXor(p1,p2)static Vector<T> Xor<T>(Vector<T> left, Vector<T> right)
Vector1 struct

System.Numerics.Vector`1 · assembly System.Private.CoreLib

Implements: IFormattable

Properties and fields

NameTypeAccessIn Ring
AllBitsSetVector<T>read · static—
Countintread · static—
IndicesVector<T>read · static—
IsSupportedboolread · static—
OneVector<T>read · static—
ZeroVector<T>read · static—

Indexer

o.Item(int index) → T

Vector2 struct

System.Numerics.Vector2 · assembly System.Private.CoreLib

Implements: IFormattable

Constructors

new Vector2(float value)
new Vector2(float x, float y)
new Vector2(ReadOnlySpan<float> values)

Ring: new Vector2(args) uses one constructor; the others are chosen by the parameter names: new Vector2().@New([ :param = value ]) or dnNew("Vector2",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
EVector2read · statico.E
EpsilonVector2read · statico.Epsilon
NaNVector2read · statico.NaN
NegativeInfinityVector2read · statico.NegativeInfinity
NegativeZeroVector2read · statico.NegativeZero
OneVector2read · statico.One
PiVector2read · statico.Pi
PositiveInfinityVector2read · statico.PositiveInfinity
TauVector2read · statico.Tau
UnitXVector2read · statico.UnitX
UnitYVector2read · statico.UnitY
ZeroVector2read · statico.Zero
Xfloatread, writeo.X o.X = v
Yfloatread, writeo.Y o.Y = v

Indexer

o.Item(int index) → float · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AbsAbs(p1)static Vector2 Abs(Vector2 value)
AddAdd(p1,p2)static Vector2 Add(Vector2 left, Vector2 right)
ClampClamp(p1,p2,p3)static Vector2 Clamp(Vector2 value1, Vector2 min, Vector2 max)
ClampNativeClampNative(p1,p2,p3)static Vector2 ClampNative(Vector2 value1, Vector2 min, Vector2 max)
CopySignCopySign(p1,p2)static Vector2 CopySign(Vector2 value, Vector2 sign)
CopyTocallMethod("CopyTo",[p1])
callMethod("CopyTo",[p1,p2])
void CopyTo(float[] array)
void CopyTo(float[] array, int index)
void CopyTo(Span<float> destination)
CosCos(p1)static Vector2 Cos(Vector2 vector)
CreateCreate(value)
Create([ :value = … ])
Create([ :values = … ])
Create([ :x = …, :y = … ])
static Vector2 Create(float value)
static Vector2 Create(float x, float y)
static Vector2 Create(ReadOnlySpan<float> values)
DegreesToRadiansDegreesToRadians(p1)static Vector2 DegreesToRadians(Vector2 degrees)
DistanceDistance(p1,p2)static float Distance(Vector2 value1, Vector2 value2)
DistanceSquaredDistanceSquared(p1,p2)static float DistanceSquared(Vector2 value1, Vector2 value2)
DivideDivide(p1,p2)static Vector2 Divide(Vector2 left, Vector2 right)
static Vector2 Divide(Vector2 left, float divisor)
DotDot(p1,p2)static float Dot(Vector2 value1, Vector2 value2)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Vector2 other)
ExpExp(p1)static Vector2 Exp(Vector2 vector)
FusedMultiplyAddFusedMultiplyAdd(p1,p2,p3)static Vector2 FusedMultiplyAdd(Vector2 left, Vector2 right, Vector2 addend)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
HypotHypot(p1,p2)static Vector2 Hypot(Vector2 x, Vector2 y)
LengthcallMethod("Length",[])float Length()
LengthSquaredcallMethod("LengthSquared",[])float LengthSquared()
LerpLerp(p1,p2,p3)static Vector2 Lerp(Vector2 value1, Vector2 value2, float amount)
static Vector2 Lerp(Vector2 value1, Vector2 value2, Vector2 amount)
LogLog(p1)static Vector2 Log(Vector2 vector)
Log2Log2(p1)static Vector2 Log2(Vector2 vector)
MaxMax(p1,p2)static Vector2 Max(Vector2 value1, Vector2 value2)
MaxMagnitudeMaxMagnitude(p1,p2)static Vector2 MaxMagnitude(Vector2 value1, Vector2 value2)
MaxMagnitudeNumberMaxMagnitudeNumber(p1,p2)static Vector2 MaxMagnitudeNumber(Vector2 value1, Vector2 value2)
MaxNativeMaxNative(p1,p2)static Vector2 MaxNative(Vector2 value1, Vector2 value2)
MaxNumberMaxNumber(p1,p2)static Vector2 MaxNumber(Vector2 value1, Vector2 value2)
MinMin(p1,p2)static Vector2 Min(Vector2 value1, Vector2 value2)
MinMagnitudeMinMagnitude(p1,p2)static Vector2 MinMagnitude(Vector2 value1, Vector2 value2)
MinMagnitudeNumberMinMagnitudeNumber(p1,p2)static Vector2 MinMagnitudeNumber(Vector2 value1, Vector2 value2)
MinNativeMinNative(p1,p2)static Vector2 MinNative(Vector2 value1, Vector2 value2)
MinNumberMinNumber(p1,p2)static Vector2 MinNumber(Vector2 value1, Vector2 value2)
MultiplyMultiply(p1,p2)static Vector2 Multiply(Vector2 left, Vector2 right)
static Vector2 Multiply(Vector2 left, float right)
static Vector2 Multiply(float left, Vector2 right)
MultiplyAddEstimateMultiplyAddEstimate(p1,p2,p3)static Vector2 MultiplyAddEstimate(Vector2 left, Vector2 right, Vector2 addend)
NegateNegate(p1)static Vector2 Negate(Vector2 value)
NormalizeNormalize(p1)static Vector2 Normalize(Vector2 value)
RadiansToDegreesRadiansToDegrees(p1)static Vector2 RadiansToDegrees(Vector2 radians)
ReflectReflect(p1,p2)static Vector2 Reflect(Vector2 vector, Vector2 normal)
RoundRound(value)
Round([ :vector = … ])
Round([ :vector = …, :mode = … ])
static Vector2 Round(Vector2 vector)
static Vector2 Round(Vector2 vector, MidpointRounding mode)
SinSin(p1)static Vector2 Sin(Vector2 vector)
SinCosSinCos(p1)static ValueTuple<Vector2, Vector2> SinCos(Vector2 vector)
SquareRootSquareRoot(p1)static Vector2 SquareRoot(Vector2 value)
SubtractSubtract(p1,p2)static Vector2 Subtract(Vector2 left, Vector2 right)
ToStringcallMethod("ToString",[])
callMethod("ToString",[p1])
callMethod("ToString",[p1,p2])
string ToString()
string ToString(string format)
string ToString(string format, IFormatProvider formatProvider)
TransformTransform(p1,p2)static Vector2 Transform(Vector2 position, Matrix3x2 matrix)
static Vector2 Transform(Vector2 position, Matrix4x4 matrix)
static Vector2 Transform(Vector2 value, Quaternion rotation)
TransformNormalTransformNormal(p1,p2)static Vector2 TransformNormal(Vector2 normal, Matrix3x2 matrix)
static Vector2 TransformNormal(Vector2 normal, Matrix4x4 matrix)
TruncateTruncate(p1)static Vector2 Truncate(Vector2 vector)
TryCopyToTryCopyTo(p1)bool TryCopyTo(Span<float> destination)
Vector3 struct

System.Numerics.Vector3 · assembly System.Private.CoreLib

Implements: IFormattable

Constructors

new Vector3(float value)
new Vector3(Vector2 value, float z)
new Vector3(float x, float y, float z)
new Vector3(ReadOnlySpan<float> values)

Ring: new Vector3(args) uses one constructor; the others are chosen by the parameter names: new Vector3().@New([ :param = value ]) or dnNew("Vector3",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
EVector3read · statico.E
EpsilonVector3read · statico.Epsilon
NaNVector3read · statico.NaN
NegativeInfinityVector3read · statico.NegativeInfinity
NegativeZeroVector3read · statico.NegativeZero
OneVector3read · statico.One
PiVector3read · statico.Pi
PositiveInfinityVector3read · statico.PositiveInfinity
TauVector3read · statico.Tau
UnitXVector3read · statico.UnitX
UnitYVector3read · statico.UnitY
UnitZVector3read · statico.UnitZ
ZeroVector3read · statico.Zero
Xfloatread, writeo.X o.X = v
Yfloatread, writeo.Y o.Y = v
Zfloatread, writeo.Z o.Z = v

Indexer

o.Item(int index) → float · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AbsAbs(p1)static Vector3 Abs(Vector3 value)
AddAdd(p1,p2)static Vector3 Add(Vector3 left, Vector3 right)
ClampClamp(p1,p2,p3)static Vector3 Clamp(Vector3 value1, Vector3 min, Vector3 max)
ClampNativeClampNative(p1,p2,p3)static Vector3 ClampNative(Vector3 value1, Vector3 min, Vector3 max)
CopySignCopySign(p1,p2)static Vector3 CopySign(Vector3 value, Vector3 sign)
CopyTocallMethod("CopyTo",[p1])
callMethod("CopyTo",[p1,p2])
void CopyTo(float[] array)
void CopyTo(float[] array, int index)
void CopyTo(Span<float> destination)
CosCos(p1)static Vector3 Cos(Vector3 vector)
CreateCreate(value)
Create([ :value = … ])
Create([ :values = … ])
Create([ :vector = …, :z = … ])
Create([ :x = …, :y = …, :z = … ])
static Vector3 Create(float value)
static Vector3 Create(Vector2 vector, float z)
static Vector3 Create(float x, float y, float z)
static Vector3 Create(ReadOnlySpan<float> values)
CrossCross(p1,p2)static Vector3 Cross(Vector3 vector1, Vector3 vector2)
DegreesToRadiansDegreesToRadians(p1)static Vector3 DegreesToRadians(Vector3 degrees)
DistanceDistance(p1,p2)static float Distance(Vector3 value1, Vector3 value2)
DistanceSquaredDistanceSquared(p1,p2)static float DistanceSquared(Vector3 value1, Vector3 value2)
DivideDivide(p1,p2)static Vector3 Divide(Vector3 left, Vector3 right)
static Vector3 Divide(Vector3 left, float divisor)
DotDot(p1,p2)static float Dot(Vector3 vector1, Vector3 vector2)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(Vector3 other)
ExpExp(p1)static Vector3 Exp(Vector3 vector)
FusedMultiplyAddFusedMultiplyAdd(p1,p2,p3)static Vector3 FusedMultiplyAdd(Vector3 left, Vector3 right, Vector3 addend)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
HypotHypot(p1,p2)static Vector3 Hypot(Vector3 x, Vector3 y)
LengthcallMethod("Length",[])float Length()
LengthSquaredcallMethod("LengthSquared",[])float LengthSquared()
LerpLerp(p1,p2,p3)static Vector3 Lerp(Vector3 value1, Vector3 value2, float amount)
static Vector3 Lerp(Vector3 value1, Vector3 value2, Vector3 amount)
LogLog(p1)static Vector3 Log(Vector3 vector)
Log2Log2(p1)static Vector3 Log2(Vector3 vector)
MaxMax(p1,p2)static Vector3 Max(Vector3 value1, Vector3 value2)
MaxMagnitudeMaxMagnitude(p1,p2)static Vector3 MaxMagnitude(Vector3 value1, Vector3 value2)
MaxMagnitudeNumberMaxMagnitudeNumber(p1,p2)static Vector3 MaxMagnitudeNumber(Vector3 value1, Vector3 value2)
MaxNativeMaxNative(p1,p2)static Vector3 MaxNative(Vector3 value1, Vector3 value2)
MaxNumberMaxNumber(p1,p2)static Vector3 MaxNumber(Vector3 value1, Vector3 value2)
MinMin(p1,p2)static Vector3 Min(Vector3 value1, Vector3 value2)
MinMagnitudeMinMagnitude(p1,p2)static Vector3 MinMagnitude(Vector3 value1, Vector3 value2)
MinMagnitudeNumberMinMagnitudeNumber(p1,p2)static Vector3 MinMagnitudeNumber(Vector3 value1, Vector3 value2)
MinNativeMinNative(p1,p2)static Vector3 MinNative(Vector3 value1, Vector3 value2)
MinNumberMinNumber(p1,p2)static Vector3 MinNumber(Vector3 value1, Vector3 value2)
MultiplyMultiply(p1,p2)static Vector3 Multiply(Vector3 left, Vector3 right)
static Vector3 Multiply(Vector3 left, float right)
static Vector3 Multiply(float left, Vector3 right)
MultiplyAddEstimateMultiplyAddEstimate(p1,p2,p3)static Vector3 MultiplyAddEstimate(Vector3 left, Vector3 right, Vector3 addend)
NegateNegate(p1)static Vector3 Negate(Vector3 value)
NormalizeNormalize(p1)static Vector3 Normalize(Vector3 value)
RadiansToDegreesRadiansToDegrees(p1)static Vector3 RadiansToDegrees(Vector3 radians)
ReflectReflect(p1,p2)static Vector3 Reflect(Vector3 vector, Vector3 normal)
RoundRound(value)
Round([ :vector = … ])
Round([ :vector = …, :mode = … ])
static Vector3 Round(Vector3 vector)
static Vector3 Round(Vector3 vector, MidpointRounding mode)
SinSin(p1)static Vector3 Sin(Vector3 vector)
SinCosSinCos(p1)static ValueTuple<Vector3, Vector3> SinCos(Vector3 vector)
SquareRootSquareRoot(p1)static Vector3 SquareRoot(Vector3 value)
SubtractSubtract(p1,p2)static Vector3 Subtract(Vector3 left, Vector3 right)
ToStringcallMethod("ToString",[])
callMethod("ToString",[p1])
callMethod("ToString",[p1,p2])
string ToString()
string ToString(string format)
string ToString(string format, IFormatProvider formatProvider)
TransformTransform(p1,p2)static Vector3 Transform(Vector3 position, Matrix4x4 matrix)
static Vector3 Transform(Vector3 value, Quaternion rotation)
TransformNormalTransformNormal(p1,p2)static Vector3 TransformNormal(Vector3 normal, Matrix4x4 matrix)
TruncateTruncate(p1)static Vector3 Truncate(Vector3 vector)
TryCopyToTryCopyTo(p1)bool TryCopyTo(Span<float> destination)
Vector4 struct

System.Numerics.Vector4 · assembly System.Private.CoreLib

Implements: IFormattable

Constructors

new Vector4(float value)
new Vector4(Vector2 value, float z, float w)
new Vector4(Vector3 value, float w)
new Vector4(float x, float y, float z, float w)
new Vector4(ReadOnlySpan<float> values)

Ring: new Vector4(args) uses one constructor; the others are chosen by the parameter names: new Vector4().@New([ :param = value ]) or dnNew("Vector4",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
EVector4read · statico.E
EpsilonVector4read · statico.Epsilon
NaNVector4read · statico.NaN
NegativeInfinityVector4read · statico.NegativeInfinity
NegativeZeroVector4read · statico.NegativeZero
OneVector4read · statico.One
PiVector4read · statico.Pi
PositiveInfinityVector4read · statico.PositiveInfinity
TauVector4read · statico.Tau
UnitXVector4read · statico.UnitX
UnitYVector4read · statico.UnitY
UnitZVector4read · statico.UnitZ
UnitWVector4read · statico.UnitW
ZeroVector4read · statico.Zero
Xfloatread, writeo.X o.X = v
Yfloatread, writeo.Y o.Y = v
Zfloatread, writeo.Z o.Z = v
Wfloatread, writeo.W o.W = v

Indexer

o.Item(int index) → float · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AbsAbs(p1)static Vector4 Abs(Vector4 value)
AddAdd(p1,p2)static Vector4 Add(Vector4 left, Vector4 right)
ClampClamp(p1,p2,p3)static Vector4 Clamp(Vector4 value1, Vector4 min, Vector4 max)
ClampNativeClampNative(p1,p2,p3)static Vector4 ClampNative(Vector4 value1, Vector4 min, Vector4 max)
CopySignCopySign(p1,p2)static Vector4 CopySign(Vector4 value, Vector4 sign)
CopyTocallMethod("CopyTo",[p1])
callMethod("CopyTo",[p1,p2])
void CopyTo(float[] array)
void CopyTo(float[] array, int index)
void CopyTo(Span<float> destination)
CosCos(p1)static Vector4 Cos(Vector4 vector)
CreateCreate(value)
Create([ :value = … ])
Create([ :values = … ])
Create([ :vector = …, :w = … ])
Create([ :vector = …, :z = …, :w = … ])
static Vector4 Create(float value)
static Vector4 Create(Vector2 vector, float z, float w)
static Vector4 Create(Vector3 vector, float w)
static Vector4 Create(float x, float y, float z, float w)
static Vector4 Create(ReadOnlySpan<float> values)
DegreesToRadiansDegreesToRadians(p1)static Vector4 DegreesToRadians(Vector4 degrees)
DistanceDistance(p1,p2)static float Distance(Vector4 value1, Vector4 value2)
DistanceSquaredDistanceSquared(p1,p2)static float DistanceSquared(Vector4 value1, Vector4 value2)
DivideDivide(p1,p2)static Vector4 Divide(Vector4 left, Vector4 right)
static Vector4 Divide(Vector4 left, float divisor)
DotDot(p1,p2)static float Dot(Vector4 vector1, Vector4 vector2)
EqualsEquals(p1)bool Equals(Vector4 other)
bool Equals(object obj)
ExpExp(p1)static Vector4 Exp(Vector4 vector)
FusedMultiplyAddFusedMultiplyAdd(p1,p2,p3)static Vector4 FusedMultiplyAdd(Vector4 left, Vector4 right, Vector4 addend)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
HypotHypot(p1,p2)static Vector4 Hypot(Vector4 x, Vector4 y)
LengthcallMethod("Length",[])float Length()
LengthSquaredcallMethod("LengthSquared",[])float LengthSquared()
LerpLerp(p1,p2,p3)static Vector4 Lerp(Vector4 value1, Vector4 value2, float amount)
static Vector4 Lerp(Vector4 value1, Vector4 value2, Vector4 amount)
LogLog(p1)static Vector4 Log(Vector4 vector)
Log2Log2(p1)static Vector4 Log2(Vector4 vector)
MaxMax(p1,p2)static Vector4 Max(Vector4 value1, Vector4 value2)
MaxMagnitudeMaxMagnitude(p1,p2)static Vector4 MaxMagnitude(Vector4 value1, Vector4 value2)
MaxMagnitudeNumberMaxMagnitudeNumber(p1,p2)static Vector4 MaxMagnitudeNumber(Vector4 value1, Vector4 value2)
MaxNativeMaxNative(p1,p2)static Vector4 MaxNative(Vector4 value1, Vector4 value2)
MaxNumberMaxNumber(p1,p2)static Vector4 MaxNumber(Vector4 value1, Vector4 value2)
MinMin(p1,p2)static Vector4 Min(Vector4 value1, Vector4 value2)
MinMagnitudeMinMagnitude(p1,p2)static Vector4 MinMagnitude(Vector4 value1, Vector4 value2)
MinMagnitudeNumberMinMagnitudeNumber(p1,p2)static Vector4 MinMagnitudeNumber(Vector4 value1, Vector4 value2)
MinNativeMinNative(p1,p2)static Vector4 MinNative(Vector4 value1, Vector4 value2)
MinNumberMinNumber(p1,p2)static Vector4 MinNumber(Vector4 value1, Vector4 value2)
MultiplyMultiply(p1,p2)static Vector4 Multiply(Vector4 left, Vector4 right)
static Vector4 Multiply(Vector4 left, float right)
static Vector4 Multiply(float left, Vector4 right)
MultiplyAddEstimateMultiplyAddEstimate(p1,p2,p3)static Vector4 MultiplyAddEstimate(Vector4 left, Vector4 right, Vector4 addend)
NegateNegate(p1)static Vector4 Negate(Vector4 value)
NormalizeNormalize(p1)static Vector4 Normalize(Vector4 vector)
RadiansToDegreesRadiansToDegrees(p1)static Vector4 RadiansToDegrees(Vector4 radians)
RoundRound(value)
Round([ :vector = … ])
Round([ :vector = …, :mode = … ])
static Vector4 Round(Vector4 vector)
static Vector4 Round(Vector4 vector, MidpointRounding mode)
SinSin(p1)static Vector4 Sin(Vector4 vector)
SinCosSinCos(p1)static ValueTuple<Vector4, Vector4> SinCos(Vector4 vector)
SquareRootSquareRoot(p1)static Vector4 SquareRoot(Vector4 value)
SubtractSubtract(p1,p2)static Vector4 Subtract(Vector4 left, Vector4 right)
ToStringcallMethod("ToString",[])
callMethod("ToString",[p1])
callMethod("ToString",[p1,p2])
string ToString()
string ToString(string format)
string ToString(string format, IFormatProvider formatProvider)
TransformTransform(p1,p2)static Vector4 Transform(Vector2 position, Matrix4x4 matrix)
static Vector4 Transform(Vector2 value, Quaternion rotation)
static Vector4 Transform(Vector3 position, Matrix4x4 matrix)
static Vector4 Transform(Vector3 value, Quaternion rotation)
static Vector4 Transform(Vector4 vector, Matrix4x4 matrix)
static Vector4 Transform(Vector4 value, Quaternion rotation)
TruncateTruncate(p1)static Vector4 Truncate(Vector4 vector)
TryCopyToTryCopyTo(p1)bool TryCopyTo(Span<float> destination)