文档

Unity Engine

Unity Engine

operator ~(uint2)

Returns the result of a componentwise bitwise not operation on a uint2 vector.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

Value to use when computing the componentwise bitwise not.

Returns

Type

Description

uint2uint2 result of the componentwise bitwise not.