Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator >>(PhysicsMask, int)

Bitwise RIGHT-SHIFT operator for PhysicsMask.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Operator
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static PhysicsMask operator >>(PhysicsMask bitMask, int bitShift)

Parameters

The PhysicsMask to perform the operation with.

bitShift

The number of bits to shift the bitmask.

Returns

Type

Description

PhysicsMaskThe bit-wise operation using both BitMasks.