文档

Unity Engine

Unity Engine

operator <<(int2, int)

Returns the result of a componentwise left shift operation on an int2 vector by a number of bits specified by a single int.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule
public static int2 operator <<(int2 x, int n)

Parameters

The vector to left shift.

The number of bits to left shift.

Returns

Type

Description

int2The result of the componentwise left shift.