Прочетете на английски Редактиране

Споделяне чрез


Vector.AsVector2(Vector4) Method

Definition

Reinterprets a Vector4 as a new Vector2.

C#
public static System.Numerics.Vector2 AsVector2(this System.Numerics.Vector4 value);

Parameters

value
Vector4

The vector to reinterpret.

Returns

value reinterpreted as a new Vector2.

Applies to

Продукт Версии
.NET 9, 10