Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator %

Returns the result of a componentwise modulus operation on two double2x4 matrices.
Read time 1 minuteLast updated 10 days ago

Definition

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

operator %(double2x4, double2x4)

Returns the result of a componentwise modulus operation on two double2x4 matrices.
public static double2x4 operator %(double2x4 lhs, double2x4 rhs)

Parameters

Left hand side double2x4 to use to compute componentwise modulus.

Right hand side double2x4 to use to compute componentwise modulus.

Returns

Type

Description

double2x4double2x4 result of the componentwise modulus.

operator %(double2x4, double)

Returns the result of a componentwise modulus operation on a double2x4 matrix and a double value.
public static double2x4 operator %(double2x4 lhs, double rhs)

Parameters

Left hand side double2x4 to use to compute componentwise modulus.

Right hand side double to use to compute componentwise modulus.

Returns

Type

Description

double2x4double2x4 result of the componentwise modulus.

operator %(double, double2x4)

Returns the result of a componentwise modulus operation on a double value and a double2x4 matrix.
public static double2x4 operator %(double lhs, double2x4 rhs)

Parameters

Left hand side double to use to compute componentwise modulus.

Right hand side double2x4 to use to compute componentwise modulus.

Returns

Type

Description

double2x4double2x4 result of the componentwise modulus.