Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator %

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

Definition

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

operator %(int4x3, int4x3)

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

Parameters

Left hand side int4x3 to use to compute componentwise modulus.

Right hand side int4x3 to use to compute componentwise modulus.

Returns

Type

Description

int4x3int4x3 result of the componentwise modulus.

operator %(int4x3, int)

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

Parameters

Left hand side int4x3 to use to compute componentwise modulus.

rhs

Right hand side int to use to compute componentwise modulus.

Returns

Type

Description

int4x3int4x3 result of the componentwise modulus.

operator %(int, int4x3)

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

Parameters

lhs

Left hand side int to use to compute componentwise modulus.

Right hand side int4x3 to use to compute componentwise modulus.

Returns

Type

Description

int4x3int4x3 result of the componentwise modulus.