文档

Unity Engine

Unity Engine

operator +(float2)

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

Definition

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

Parameters

Value to use when computing the componentwise unary plus.

Returns

Type

Description

float2float2 result of the componentwise unary plus.