文档

Unity Engine

Unity Engine

operator -(float3)

Returns the result of a componentwise subtraction operation on two float3 vectors.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

Returns

Type

Description

float3float3 result of the componentwise subtraction.