ドキュメント

Unity Engine

Unity Engine

operator +(int2)

Returns the result of a componentwise unary plus operation on an int2 vector.
読み終わるまでの所要時間 1 分最終更新 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 unary plus.

Returns

Type

Description

int2int2 result of the componentwise unary plus.