기술 자료

Unity Engine

Unity Engine

operator |(PhysicsMask, PhysicsMask)

Bitwise OR operator for PhysicsMask.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Operator
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static PhysicsMask operator |(PhysicsMask bitMaskA, PhysicsMask bitMaskB)

Parameters

bitMaskA

The first PhysicsMask to perform the operation with.

bitMaskB

The second PhysicsMask to perform the operation with.

Returns

Type

Description

PhysicsMaskThe bit-wise operation using both BitMasks.