Vector2.LeftShift(Vector2, Int32) Operator

Definisi

Menggeser setiap elemen vektor yang ditinggalkan oleh jumlah yang ditentukan.

public:
 static System::Numerics::Vector2 operator <<(System::Numerics::Vector2 value, int shiftAmount);
public static System.Numerics.Vector2 operator <<(System.Numerics.Vector2 value, int shiftAmount);
static member ( <<< ) : System.Numerics.Vector2 * int -> System.Numerics.Vector2
Public Shared Operator << (value As Vector2, shiftAmount As Integer) As Vector2

Parameter

value
Vector2

Vektor yang elemennya akan digeser.

shiftAmount
Int32

Mengembalikan

Vektor yang elemennya di mana bergeser ke kiri oleh shiftCount.

Berlaku untuk