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

◆ CopyTo() [3/3]

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

Definition at line 327 of file Vector3.cs.

328 {
329 if (destination.Length < 3)
330 {
331 ThrowHelper.ThrowArgumentException_DestinationTooShort();
332 }
333 Unsafe.WriteUnaligned(ref Unsafe.As<float, byte>(ref MemoryMarshal.GetReference(destination)), this);
334 }

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