기술 자료

Unity Engine

Unity Engine

operator -

Returns the result of a componentwise subtraction operation on two double4 vectors.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule

operator -(double4, double4)

Returns the result of a componentwise subtraction operation on two double4 vectors.
public static double4 operator -(double4 lhs, double4 rhs)

Parameters

Left hand side double4 to use to compute componentwise subtraction.

Right hand side double4 to use to compute componentwise subtraction.

Returns

Type

Description

double4double4 result of the componentwise subtraction.

operator -(double4, double)

Returns the result of a componentwise subtraction operation on a double4 vector and a double value.
public static double4 operator -(double4 lhs, double rhs)

Parameters

Left hand side double4 to use to compute componentwise subtraction.

Right hand side double to use to compute componentwise subtraction.

Returns

Type

Description

double4double4 result of the componentwise subtraction.

operator -(double, double4)

Returns the result of a componentwise subtraction operation on a double value and a double4 vector.
public static double4 operator -(double lhs, double4 rhs)

Parameters

Left hand side double to use to compute componentwise subtraction.

Right hand side double4 to use to compute componentwise subtraction.

Returns

Type

Description

double4double4 result of the componentwise subtraction.