Bewerken

Share via


Vector4.TryCopyTo(Span<Single>) Method

Definition

Attempts to copy the vector to the given Span<T>. The length of the destination span must be at least 4.

public:
 bool TryCopyTo(Span<float> destination);
public readonly bool TryCopyTo (Span<float> destination);
member this.TryCopyTo : Span<single> -> bool
Public Function TryCopyTo (destination As Span(Of Single)) As Boolean

Parameters

destination
Span<Single>

The destination span which the values are copied into.

Returns

true if the source vector was successfully copied to destination. false if destination is not large enough to hold the source vector.

Applies to