Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
TryCopyTo()
readonly
bool
System.Numerics.Vector2.TryCopyTo
(
Span
< float >
destination
)
inline
Definition at line
326
of file
Vector2.cs
.
327
{
328
if
(
destination
.Length < 2)
329
{
330
return
false
;
331
}
332
Unsafe
.WriteUnaligned(ref
Unsafe
.As<
float
,
byte
>(ref
MemoryMarshal
.GetReference(
destination
)),
this
);
333
return
true
;
334
}
Internal.Runtime.CompilerServices.Unsafe
Definition
Unsafe.cs:10
System.Runtime.InteropServices.MemoryMarshal
Definition
MemoryMarshal.cs:11
System.ExceptionArgument.destination
@ destination
References
System.destination
.
System
Numerics
Vector2
Generated by
1.10.0