ドキュメント

Unity Engine

Unity Engine

operator +

Returns the result of a componentwise addition operation on two double2x2 matrices.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

operator +(double2x2, double2x2)

Returns the result of a componentwise addition operation on two double2x2 matrices.
public static double2x2 operator +(double2x2 lhs, double2x2 rhs)

Parameters

Left hand side double2x2 to use to compute componentwise addition.

Right hand side double2x2 to use to compute componentwise addition.

Returns

Type

Description

double2x2double2x2 result of the componentwise addition.

operator +(double2x2, double)

Returns the result of a componentwise addition operation on a double2x2 matrix and a double value.
public static double2x2 operator +(double2x2 lhs, double rhs)

Parameters

Left hand side double2x2 to use to compute componentwise addition.

Right hand side double to use to compute componentwise addition.

Returns

Type

Description

double2x2double2x2 result of the componentwise addition.

operator +(double, double2x2)

Returns the result of a componentwise addition operation on a double value and a double2x2 matrix.
public static double2x2 operator +(double lhs, double2x2 rhs)

Parameters

Left hand side double to use to compute componentwise addition.

Right hand side double2x2 to use to compute componentwise addition.

Returns

Type

Description

double2x2double2x2 result of the componentwise addition.