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

◆ CopyTo() [3/3]

readonly void System.Numerics.Vector2.CopyTo ( Span< float > destination)
inline

Definition at line 317 of file Vector2.cs.

318 {
319 if (destination.Length < 2)
320 {
321 ThrowHelper.ThrowArgumentException_DestinationTooShort();
322 }
323 Unsafe.WriteUnaligned(ref Unsafe.As<float, byte>(ref MemoryMarshal.GetReference(destination)), this);
324 }

References System.destination, and System.ThrowHelper.ThrowArgumentException_DestinationTooShort().