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

◆ CopyTo() [3/3]

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

Definition at line 369 of file Vector4.cs.

370 {
371 if (destination.Length < 4)
372 {
373 ThrowHelper.ThrowArgumentException_DestinationTooShort();
374 }
375 Unsafe.WriteUnaligned(ref Unsafe.As<float, byte>(ref MemoryMarshal.GetReference(destination)), this);
376 }

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