Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ As< TFrom, TTo >()

static Vector< TTo > System.Numerics.Vector< T >.As< TFrom, TTo > ( this Vector< TFrom > vector)
inlinestatic
Type Constraints
TFrom :struct 
TTo :struct 

Definition at line 845 of file Vector.cs.

845 : struct where TTo : struct
846 {
847 ThrowHelper.ThrowForUnsupportedNumericsVectorBaseType<TFrom>();
848 ThrowHelper.ThrowForUnsupportedNumericsVectorBaseType<TTo>();
849 return Unsafe.As<Vector<TFrom>, Vector<TTo>>(ref vector);
850 }