Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator <<(int2x2, int)

Returns the result of a componentwise left shift operation on an int2x2 matrix by a number of bits specified by a single int.
Read time 1 minuteLast updated 11 days ago

Definition

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

Parameters

The matrix to left shift.

The number of bits to left shift.

Returns

Type

Description

int2x2The result of the componentwise left shift.