기술 자료

Unity Engine

Unity Engine

operator ~(int2)

Returns the result of a componentwise bitwise not operation on an int2 vector.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule
public static int2 operator ~(int2 val)

Parameters

val

Value to use when computing the componentwise bitwise not.

Returns

Type

Description

int2int2 result of the componentwise bitwise not.