Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator +

Returns the result of a componentwise addition operation on two double4x2 matrices.
Read time 1 minuteLast updated 4 days ago

Definition

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

operator +(double4x2, double4x2)

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

Parameters

Left hand side double4x2 to use to compute componentwise addition.

Right hand side double4x2 to use to compute componentwise addition.

Returns

Type

Description

double4x2double4x2 result of the componentwise addition.

operator +(double4x2, double)

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

Parameters

Left hand side double4x2 to use to compute componentwise addition.

Right hand side double to use to compute componentwise addition.

Returns

Type

Description

double4x2double4x2 result of the componentwise addition.

operator +(double, double4x2)

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

Parameters

Left hand side double to use to compute componentwise addition.

Right hand side double4x2 to use to compute componentwise addition.

Returns

Type

Description

double4x2double4x2 result of the componentwise addition.