Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
TryCopyTo()
readonly
bool
System.Numerics.Vector4.TryCopyTo
(
Span
< float >
destination
)
inline
Definition at line
378
of file
Vector4.cs
.
379
{
380
if
(
destination
.Length < 4)
381
{
382
return
false
;
383
}
384
Unsafe
.WriteUnaligned(ref
Unsafe
.As<
float
,
byte
>(ref
MemoryMarshal
.GetReference(
destination
)),
this
);
385
return
true
;
386
}
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
Vector4
Generated by
1.10.0