文档

Unity Engine

Unity Engine

operator <<(uint2, int)

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

Definition

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

Parameters

The vector to left shift.

The number of bits to left shift.

Returns

Type

Description

uint2The result of the componentwise left shift.