Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
TryCopyTo()
readonly
bool
System.Numerics.Vector3.TryCopyTo
(
Span
< float >
destination
)
inline
Definition at line
336
of file
Vector3.cs
.
337
{
338
if
(
destination
.Length < 3)
339
{
340
return
false
;
341
}
342
Unsafe
.WriteUnaligned(ref
Unsafe
.As<
float
,
byte
>(ref
MemoryMarshal
.GetReference(
destination
)),
this
);
343
return
true
;
344
}
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
Vector3
Generated by
1.10.0