Vector.StoreUnsafe 方法

定義

多載

StoreUnsafe(Vector2, Single)

public static void StoreUnsafe(this System.Numerics.Vector2 source, ref float destination);

參數

source
Vector2
destination
Single

適用於

.NET 10
產品 版本
.NET 10

StoreUnsafe(Vector3, Single)

public static void StoreUnsafe(this System.Numerics.Vector3 source, ref float destination);

參數

source
Vector3
destination
Single

適用於

.NET 10
產品 版本
.NET 10

StoreUnsafe(Vector4, Single)

public static void StoreUnsafe(this System.Numerics.Vector4 source, ref float destination);

參數

source
Vector4
destination
Single

適用於

.NET 10
產品 版本
.NET 10

StoreUnsafe(Vector2, Single, UIntPtr)

重要

此 API 不符合 CLS 規範。

[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector2 source, ref float destination, UIntPtr elementOffset);

參數

source
Vector2
destination
Single
elementOffset
UIntPtr
屬性

適用於

.NET 10
產品 版本
.NET 10

StoreUnsafe(Vector3, Single, UIntPtr)

重要

此 API 不符合 CLS 規範。

[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector3 source, ref float destination, UIntPtr elementOffset);

參數

source
Vector3
destination
Single
elementOffset
UIntPtr
屬性

適用於

.NET 10
產品 版本
.NET 10

StoreUnsafe(Vector4, Single, UIntPtr)

重要

此 API 不符合 CLS 規範。

[System.CLSCompliant(false)]
public static void StoreUnsafe(this System.Numerics.Vector4 source, ref float destination, UIntPtr elementOffset);

參數

source
Vector4
destination
Single
elementOffset
UIntPtr
屬性

適用於

.NET 10
產品 版本
.NET 10

StoreUnsafe<T>(Vector<T>, T)

來源:
Vector.cs
來源:
Vector.cs

將向量儲存在指定的目的地。

public static void StoreUnsafe<T>(this System.Numerics.Vector<T> source, ref T destination);

類型參數

T

向量中專案的型別。

參數

source
Vector<T>

要儲存的向量。

destination
T

要儲存的 source 目的地。

例外狀況

不支援 source (T) 的類型。

適用於

.NET 10 及其他版本
產品 版本
.NET 8, 9, 10

StoreUnsafe<T>(Vector<T>, T, UIntPtr)

來源:
Vector.cs
來源:
Vector.cs

重要

此 API 不符合 CLS 規範。

將向量儲存在指定的目的地。

[System.CLSCompliant(false)]
public static void StoreUnsafe<T>(this System.Numerics.Vector<T> source, ref T destination, UIntPtr elementOffset);

類型參數

T

向量中專案的型別。

參數

source
Vector<T>

要儲存的向量。

destination
T

將儲存向量之前要加入的目的地 elementOffset

elementOffset
UIntPtr

要從中儲存向量的專案位移 destination

屬性

例外狀況

不支援 source (T) 的類型。

適用於

.NET 10 及其他版本
產品 版本
.NET 8, 9, 10