기술 자료

Unity Engine

Unity Engine

operator <<(PhysicsMask, int)

Bitwise LEFT-SHIFT operator for PhysicsMask.
읽는 시간 1분최근 업데이트: 8일 전

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, in the range [0, 63].

Returns

Type

Description

PhysicsMaskThe bit-wise operation using both BitMasks.