Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator >>(uint2, int)

Returns the result of a componentwise right shift operation on a uint2 vector by a number of bits specified by a single int.
Read time 1 minuteLast updated 4 days ago

Definition

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

Parameters

The vector to right shift.

The number of bits to right shift.

Returns

Type

Description

uint2The result of the componentwise right shift.